Update master_push.yml

This commit is contained in:
2024-09-24 00:46:35 +02:00
committed by GitHub
Unverified
parent 8c91debc7d
commit aca29431af

View File

@@ -52,15 +52,7 @@ jobs:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ matrix.app }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
file: ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
- name: Build image
run: docker build ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile --tag ghcr.io/${{github.actor}}/${{ matrix.app }}:latest
- name: Publish image
run: docker push ghcr.io/${{github.actor}}/${{ matrix.app }}:latest