Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Germán Martín committed Oct 15, 2023
1 parent 5e93036 commit d5f7026
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker_build_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- name: Set the version
id: get_version
run: echo "VERSION=$(echo ${{ github.ref }} | cut -d '/' -f 3)" >> $GITHUB_ENV

- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
Expand All @@ -36,7 +40,7 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: gmag11/metatrader5_vnc:${{ github.ref }},gmag11/metatrader5_vnc:latest
tags: gmag11/metatrader5_vnc:${{ env.VERSION }},gmag11/metatrader5_vnc:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

Expand Down

0 comments on commit d5f7026

Please sign in to comment.