Skip to content

Commit

Permalink
fix: fix docker build tag v6
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed Mar 15, 2022
1 parent 0be7700 commit cb7a527
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
name: Checkout
uses: actions/checkout@v2

# - name: install git
# run: apt-get update && apt-get install git -y
- name: Extract tag name
id: tag
uses: actions/github-script@v6
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
file: ./Dockerfile
platforms: linux/arm64,linux/amd64
push: true
tags: ghcr.io/aldor007/mort:latest, ghcr.io/aldor007/mort:${{ steps.vars.outputs.tag }}
tags: ghcr.io/aldor007/mort:latest, ghcr.io/aldor007/mort:${{ steps.tag.outputs.tag }}
cache-from: type=registry,ref=ghcr.io/aldor007/mort:latest
cache-to: type=inline
build-args: TAG=${{ steps.tag.outputs.result }}, COMMIT=$GITHUB_SHA, DATE=${{ steps.date.outputs.date }}
Expand Down

0 comments on commit cb7a527

Please # to comment.