Skip to content

Commit

Permalink
tc
Browse files Browse the repository at this point in the history
  • Loading branch information
msune committed Apr 18, 2024
1 parent 6e9d817 commit 1cc0215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v4
with:
path: turnilo
fetch-depth: 0
fetch-tags: 1

- name: "Set up QEMU"
# Add support for more platforms with QEMU (optional)
Expand All @@ -37,8 +39,6 @@ jobs:
run: |
#Cross-build
cd turnilo
echo "Fix mess with tags in actions/checkout..."
git fetch -f && git fetch -f --tags
export TAG=$(git describe HEAD | sed 's/-.*$//g')
docker buildx build --platform ${{ matrix.arch }} -f Dockerfile . --tag ghcr.io/${{env.GITHUB_REPOSITORY}}:${TAG}
docker buildx push --platform ${{ matrix.arch }} ghcr.io/${{env.GITHUB_REPOSITORY}}:${TAG}

0 comments on commit 1cc0215

Please sign in to comment.