Updated docker yml
This commit is contained in:
parent
ed5942ce56
commit
ba7a676429
|
@ -11,6 +11,7 @@ jobs:
|
||||||
base_images:
|
base_images:
|
||||||
name: Push Docker images
|
name: Push Docker images
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ secrets.DOCKER_REPO }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -18,8 +19,8 @@ jobs:
|
||||||
id: changes
|
id: changes
|
||||||
run: |
|
run: |
|
||||||
if [[ -n "${DOCKER_REPO}" ]]; then
|
if [[ -n "${DOCKER_REPO}" ]]; then
|
||||||
echo "name=docker_repo::$DOCKER_REPO"
|
echo "name=docker_repo::$REPO_OWNER"
|
||||||
echo "::set-output name=docker_repo::$DOCKER_REPO"
|
echo "::set-output name=docker_repo::$REPO_OWNER"
|
||||||
else
|
else
|
||||||
echo "name=docker_repo::lnis-uofu"
|
echo "name=docker_repo::lnis-uofu"
|
||||||
echo "::set-output name=docker_repo::lnis-uofu"
|
echo "::set-output name=docker_repo::lnis-uofu"
|
||||||
|
|
Loading…
Reference in New Issue