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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user