Update tag names and echo git tag

This commit is contained in:
Eugene Burmakin
2024-04-07 17:44:19 +02:00
parent 937d1986d0
commit 6dc45b65cc

View File

@@ -17,6 +17,8 @@ jobs:
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Echo git tag
run: echo ${{ github.ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3.1.0
with:
@@ -28,7 +30,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_REGISTRY }}/freika/dawarich:latest,${{ secrets.DOCKER_REGISTRY }}/freika/dawarich:${{ github.run_number }}
tags: freika/dawarich:latest,freika/dawarich:${{ github.run_number }}
platforms: linux/amd64,linux/arm64/v8
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache