Update master_push.yml

This commit is contained in:
2024-09-24 00:51:12 +02:00
committed by GitHub
Unverified
parent aca29431af
commit 2cc2adea9f

View File

@@ -52,7 +52,12 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{github.actor}} username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}} password: ${{secrets.GITHUB_TOKEN}}
- name: Convert name to lowercase
id: name
uses: ASzc/change-string-case-action@v1
with:
string: ${{ matrix.app }}
- name: Build image - name: Build image
run: docker build ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile --tag ghcr.io/${{github.actor}}/${{ matrix.app }}:latest run: docker build ${{ github.workspace }}/${{ matrix.app }}/${{ matrix.app }}/Dockerfile --tag ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest
- name: Publish image - name: Publish image
run: docker push ghcr.io/${{github.actor}}/${{ matrix.app }}:latest run: docker push ghcr.io/${{github.actor}}/${{ steps.name.outputs.lowercase }}:latest