|
|
@ -26,7 +26,7 @@ jobs:
|
|
|
|
run: yarn build
|
|
|
|
run: yarn build
|
|
|
|
|
|
|
|
|
|
|
|
build_and_push:
|
|
|
|
build_and_push:
|
|
|
|
name: Build & Publish to Docker Hub
|
|
|
|
name: Build & Publish Docker Images
|
|
|
|
needs: test
|
|
|
|
needs: test
|
|
|
|
if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]')
|
|
|
|
if: github.ref == 'refs/heads/develop' && !contains(github.event.head_commit.message, '[skip ci]')
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
@ -54,7 +54,7 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
registry: ghcr.io
|
|
|
|
registry: ghcr.io
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
|
|
- name: Build and push
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|