Skip to content

update images

update images #164

Workflow file for this run

name: CI
on:
push:
branches: [ dev ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
tests:
# The type of runner that the job will run on
runs-on: [self-hosted, docker]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: puzl-cloud/checkout@v2
with:
clean: false
fetch-depth: 0
- name: Run test
run: bash deploy/run_tests.sh
publish-image-dev:
needs: [tests]
runs-on: [self-hosted, docker]
steps:
- uses: puzl-cloud/checkout@v2
with:
clean: false
fetch-depth: 0
- name: Publish to dev
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: bash deploy/run_publish.sh
update-db-dev:
needs: [tests, publish-image-dev]
runs-on: [self-hosted, docker]
steps:
- uses: puzl-cloud/checkout@v2
with:
clean: false
fetch-depth: 0
- name: Update db
env:
HASURA_ENDPOINT: ${{ secrets.HASURA_ENDPOINT_DEV }}
HASURA_API_KEY: ${{ secrets.HASURA_API_KEY_DEV }}
run: bash deploy/run_update_db.sh