Skip to content

docker: update to compose V2 #114

docker: update to compose V2

docker: update to compose V2 #114

Workflow file for this run

name: Push master
on:
push:
branches: [master]
release:
types: [released]
defaults:
run:
shell: bash
jobs:
test:
uses: ./.github/workflows/backend-tests-on-docker.yml
with:
ref: ${{ github.ref }}
secrets: inherit
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- name: send event (release)
if : ${{ github.event_name == 'release' }}
uses: cern-sis/gh-workflows/.github/actions/[email protected]
with:
event-type: release
images: |
inspirehep/next@${{ needs.test.outputs.tag }}
inspirehep/next-assets@${{ needs.test.outputs.tag }}
inspirehep/next-scrapyd@${{ needs.test.outputs.tag }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}
- name: send event (update)
if : ${{ github.event_name != 'release' }}
uses: cern-sis/gh-workflows/.github/actions/[email protected]
with:
event-type: update
images: |
inspirehep/next@${{ needs.test.outputs.tag }}
inspirehep/next-assets@${{ needs.test.outputs.tag }}
inspirehep/next-scrapyd@${{ needs.test.outputs.tag }}
token: ${{ secrets.PAT_FIRE_EVENTS_ON_CERN_SIS_KUBERNETES }}