Browse Source

Check for secret key before nightly builds (#1375)

pull/1376/head
Meisam 4 years ago committed by GitHub
parent
commit
ae1c2d89f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .github/workflows/docker-nightly.yaml

8
.github/workflows/docker-nightly.yaml

@ -10,8 +10,14 @@ jobs:
steps: steps:
- name: Log into GitHub Container Registry - name: Log into GitHub Container Registry
env:
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
run: echo "${{ secrets.GH_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin run: echo "${{ secrets.GH_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
if: env.GH_CR_PAT != null
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup and run - name: Setup and run
run: cd build/release && ./docker-nightly.sh env:
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
run: cd build/release && ./docker-nightly.sh
if: env.GH_CR_PAT != null

Loading…
Cancel
Save