fix push step

This commit is contained in:
Syed Ali Shahbaz
2023-09-29 12:23:21 +04:00
committed by GitHub
parent d17064f67f
commit 4be3f45228

View File

@@ -156,14 +156,6 @@ jobs:
- name: Push image
uses: docker/build-push-action@v4
with:
context: .
# push: ${{ github.event_name != 'pull_request' }}
push: false
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
run: |
tags="${{ steps.meta.outputs.tags }}"
IFS=',' read -ra ADDR <<< "$tags" # Convert string to array using ',' as delimiter
@@ -171,6 +163,7 @@ jobs:
docker push $tag
- name: Cleanup
run: |
docker compose down