mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
Fix faulty CI job on docker releases
This commit is contained in:
1
.github/workflows/prerelease.yaml
vendored
1
.github/workflows/prerelease.yaml
vendored
@@ -46,7 +46,6 @@ jobs:
|
||||
run: echo ::set-output name=tag::${GITHUB_REF:11} # tag name without leading 'v'
|
||||
|
||||
- name: Build and push Docker image
|
||||
if: "contains(github.ref, 'refs/heads/master')"
|
||||
run: |
|
||||
echo ${REGISTRY_PASSWORD} | docker login -u ${REGISTRY_USERNAME} --password-stdin quay.io
|
||||
DOCKER_TAG=${{ steps.vars.outputs.tag }} make docker push
|
||||
|
||||
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -53,7 +53,6 @@ jobs:
|
||||
run: echo ::set-output name=tag::${GITHUB_REF:11} # tag name without leading 'v'
|
||||
|
||||
- name: Build and push Docker image
|
||||
if: "contains(github.ref, 'refs/heads/master')"
|
||||
run: |
|
||||
echo ${REGISTRY_PASSWORD} | docker login -u ${REGISTRY_USERNAME} --password-stdin quay.io
|
||||
DOCKER_TAG=${{ steps.vars.outputs.tag }} make docker push
|
||||
|
||||
Reference in New Issue
Block a user