File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build Docker Image for CoppeliaSim EDU
22on : [push, workflow_dispatch]
33
4- env :
5- BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
6-
74jobs :
85 build_image :
9- name : Build Docker Image for ${{env.BRANCH_NAME }}
6+ name : Build Docker Image for ${{ github.head_ref || github.ref_name }}
107 runs-on : ubuntu-latest
118 steps :
129 - uses : actions/checkout@v2
@@ -22,11 +19,11 @@ jobs:
2219 - name : Set up Docker Buildx
2320 uses : docker/setup-buildx-action@v3
2421
25- - name : Build and push CoppeliaSim for ${{env.BRANCH_NAME }}
22+ - name : Build and push CoppeliaSim for ${{ github.head_ref || github.ref_name }}
2623 uses : docker/build-push-action@v6
2724 with :
2825 platforms : linux/amd64
2926 push : true
3027 file : coppeliasim/Dockerfile
3128 tags : |
32- ${{ vars.DOCKER_USERNAME }}/coppeliasim:${{env.BRANCH_NAME }}
29+ ${{ vars.DOCKER_USERNAME }}/coppeliasim:${{ github.head_ref || github.ref_name }}
You can’t perform that action at this time.
0 commit comments