Docker-Build für Compose und Registry-Push robuster machen
This commit is contained in:
@@ -67,19 +67,16 @@ jobs:
|
||||
- name: Docker Image bauen
|
||||
if: steps.check.outputs.should_build == 'true'
|
||||
run: |
|
||||
docker build \
|
||||
docker buildx build \
|
||||
--provenance=false \
|
||||
--sbom=false \
|
||||
--build-arg VDO_NINJA_REPO=${{ env.UPSTREAM_REPO }} \
|
||||
--build-arg VDO_NINJA_REF=${{ steps.check.outputs.upstream_tag }} \
|
||||
-t ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest \
|
||||
-t ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }} \
|
||||
--push \
|
||||
.
|
||||
|
||||
- name: Docker Image pushen
|
||||
if: steps.check.outputs.should_build == 'true'
|
||||
run: |
|
||||
docker push ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest
|
||||
docker push ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}
|
||||
|
||||
- name: Build-Zusammenfassung
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user