summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2021-09-24 16:44:44 -0400
committerGitHub <noreply@github.com>2021-09-24 16:44:44 -0400
commit1bf2f3984a7b0cecb650091d13c109ce8afc5eb6 (patch)
treec9b77e4710e34f3f5f05f0aafec1080f1c65a3dc /.github
parent8c719ecd16426c98bdfa6c5d51db6dba5a9a6319 (diff)
fix GHCR login (#1220)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docker.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index a6c4c0cf..61cad0d3 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -54,15 +54,15 @@ jobs:
uses: docker/login-action@v1.10.0
with:
registry: ghcr.io
- username: '{{ `${{ github.actor }}` }}'
- password: '{{ `${{ secrets.GITHUB_TOKEN }}` }}'
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
if: github.repository == 'hairyhenderson/gomplate' && (github.ref == 'refs/heads/master' || env.is_tag == 'true')
- name: Login to DockerHub
uses: docker/login-action@v1.10.0
with:
# NOTE: DOCKERHUB_TOKEN and DOCKERHUB_USERNAME must be present in https://github.com/hairyhenderson/gomplate/settings
- username: '{{ `${{ secrets.DOCKERHUB_USERNAME }}` }}'
- password: '{{ `${{ secrets.DOCKERHUB_TOKEN }}` }}'
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
if: github.repository == 'hairyhenderson/gomplate' && (github.ref == 'refs/heads/master' || env.is_tag == 'true')
- name: Build & Push (master)
run: |