Update master_push.yml
This commit is contained in:
16
.github/workflows/master_push.yml
vendored
16
.github/workflows/master_push.yml
vendored
@@ -52,15 +52,7 @@ jobs:
|
|||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{github.actor}}
|
username: ${{github.actor}}
|
||||||
password: ${{secrets.GITHUB_TOKEN}}
|
password: ${{secrets.GITHUB_TOKEN}}
|
||||||
- name: Extract Docker metadata
|
- name: Build image
|
||||||
id: meta
|
run: docker build ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile --tag ghcr.io/${{github.actor}}/${{ matrix.app }}:latest
|
||||||
uses: docker/metadata-action@v5
|
- name: Publish image
|
||||||
with:
|
run: docker push ghcr.io/${{github.actor}}/${{ matrix.app }}:latest
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user