Skip to content

Commit

Permalink
fix: test on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed May 2, 2024
1 parent 3449746 commit 63d98fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
push:
runs-on: ubuntu-latest
if: github.event_name == 'push'
# if: github.event_name == 'push'

steps:
# Use the release name as the image tag if we're building an open release tag.
Expand Down Expand Up @@ -42,13 +42,14 @@ jobs:
- name: Build and push Dev Docker image
uses: docker/build-push-action@v5
with:
push: true
# push: true
push: ${{ github.event_name == 'pull_request' }}
target: dev
tags: ${{ steps.get-tag-name.outputs.result }},${{ github.sha }}
platforms: linux/amd64,linux/arm64

# - name: Build and push prod Docker image
# uses: docker/build-push-action@v4
# uses: docker/build-push-action@v5
# with:
# push: true
# target: prod
Expand Down

0 comments on commit 63d98fc

Please sign in to comment.