dd
Some checks failed
build / build (push) Failing after 9s
linter / gitleaks (push) Successful in 3s
linter / hadolint (push) Failing after 2s

This commit is contained in:
Michael Grote 2024-08-30 17:45:42 +02:00
parent 2639e92850
commit bca009d4bb

View file

@ -21,13 +21,14 @@ jobs:
id: meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest"
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_BRANCH }}"
# depends on lint