mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
Use correct docker registry in CI
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
This commit is contained in:
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -82,11 +82,12 @@ jobs:
|
||||
uses: docker/login-action@v1
|
||||
if: env.REGISTRY_USERNAME != ''
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Build 'dev' Docker image
|
||||
if: "env.REGISTRY_USERNAME != '' && !contains(github.ref, 'refs/heads/master')"
|
||||
if: "!contains(github.ref, 'refs/heads/master')"
|
||||
run: make docker
|
||||
env:
|
||||
DOCKER_TAG: ${{ github.sha }}
|
||||
|
||||
1
.github/workflows/prerelease.yaml
vendored
1
.github/workflows/prerelease.yaml
vendored
@@ -58,6 +58,7 @@ jobs:
|
||||
uses: docker/login-action@v1
|
||||
if: env.REGISTRY_USERNAME != ''
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
|
||||
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -29,6 +29,7 @@ jobs:
|
||||
uses: docker/login-action@v1
|
||||
if: env.REGISTRY_USERNAME != ''
|
||||
with:
|
||||
registry: quay.io
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user