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

This commit is contained in:
Michael Grote 2024-08-30 17:43:31 +02:00
parent 1a3f37a91b
commit f2a84fc55e

View file

@ -17,14 +17,16 @@ jobs:
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get Meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
- 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/httpd:latest
tags: "registry.mgrote.net/${{ steps.meta.outputs.REPO_NAME }}:latest"
# depends on lint