dfgds
Some checks failed
lint, build and push / lint (pull_request) Successful in 4s
lint, build and push / build (pull_request) Failing after 12s

This commit is contained in:
Michael Grote 2024-10-13 19:22:38 +02:00
parent b8db366329
commit e8132c6697

View file

@ -57,17 +57,13 @@ jobs:
id: meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
- name: Extract branch name
shell: bash
run: echo "REPO_BRANCH=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_OUTPUT
id: extract_branch
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
push: true
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.extract_branch.outputs.REPO_BRANCH }}"
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest,registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:${{ env.GITHUB_HEAD_REF }}"
- name: Send notification
uses: dawidd6/action-send-mail@v3
if: failure()