Skip to content

Commit

Permalink
Fix pipelines running forever
Browse files Browse the repository at this point in the history
  • Loading branch information
Jekannadar committed Nov 7, 2023
1 parent c98310a commit 1fe6bdc
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build-publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,16 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and export to Docker
- name: Build Docker
uses: docker/build-push-action@v5
with:
context: applications/cls-cad-backend
platforms: linux/amd64
cache-from: type=gha
cache-to: type=gha,mode=max
load: true
push: false
tags: ${{ env.TEST_TAG }}

- name: Test
run: |
docker run --rm ${{ env.TEST_TAG }}
if: github.event_name == 'pull_request'

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 1fe6bdc

Please sign in to comment.