first commit
Some checks failed
Docker / build (push) Failing after 42s

This commit is contained in:
Sthope 2025-03-18 20:25:10 +01:00
parent a7ffc53ade
commit da0ad79f06

View File

@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Log into registry ${{ env.REGISTRY }}
uses: docker/login-action@v3
@ -34,8 +34,9 @@ jobs:
id: repo_name
run: echo "IMAGE_NAME=${{ github.repository.split('/')[1] }}" >> $GITHUB_ENV && echo $IMAGE_NAME
- name: Build Docker Image
run: docker build -t ${{ env.IMAGE_NAME }} .
- name: Push Docker Image
run: docker push ${{ env.REGISTRY }}/${{ secrets.DOCKER_USER }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: Dockerfile
push: true
tags: ${{ env.REGISTRY }}/${{ secrets.DOCKER_USER }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE }}