Skip to content

[GithubActions] Fixing workflow syntax error (see https://github.com/… #7

[GithubActions] Fixing workflow syntax error (see https://github.com/…

[GithubActions] Fixing workflow syntax error (see https://github.com/… #7

Workflow file for this run

name: Build Docker Image for CoppeliaSim EDU
on: [push, workflow_dispatch]
jobs:
build_image:
name: Build Docker Image for ${{ github.head_ref || github.ref_name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push CoppeliaSim for ${{ github.head_ref || github.ref_name }}
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
push: true
file: coppeliasim/Dockerfile
tags: |
${{ vars.DOCKER_USERNAME }}/coppeliasim:${{ github.head_ref || github.ref_name }}