Skip to content

Commit

Permalink
Use the tags
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-bergia committed Apr 18, 2023
1 parent 1f0ab09 commit 24a33c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build and push
id: build
uses: cern-sis/gh-workflows/.github/actions/docker-build@main
uses: cern-sis/gh-workflows/.github/actions/docker-build@v5.5.0
with:
image: scoap3/hepcrawl
username: scoap3
Expand All @@ -44,16 +44,16 @@ jobs:

- name: Deploy QA
if: ${{ github.event_name == 'push'}}
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v5.4.0
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v5.5.0
with:
event-type: update
images: scoap3/hepcrawl:${{ steps.build.outputs.image-id }}
images: ${{ steps.build.outputs.image-tags }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}

- name: Deploy PROD
if: ${{ github.event_name == 'release'}}
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v5.4.0
uses: cern-sis/gh-workflows/.github/actions/kubernetes-project-new-images@v5.5.0
with:
event-type: release
images: scoap3/hepcrawl:${{ steps.build.outputs.image-id }}
images: ${{ steps.build.outputs.image-tags }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}

0 comments on commit 24a33c6

Please sign in to comment.