We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c472509 commit 072a7c3Copy full SHA for 072a7c3
.github/workflows/docker-release.yml
@@ -18,15 +18,12 @@ jobs:
18
- name: Setup faas-cli
19
run: |
20
curl -sSL https://cli.openfaas.com | sh
21
- # TODO: Check if this is doable with the docker login action
22
- - name: GHCR Login
23
- env:
24
- GHCR_AUTH_TOKEN: ${{ secrets.GHCR_AUTH_TOKEN }}
25
- run: |
26
- echo "$GHCR_AUTH_TOKEN" | docker login \
27
- ghcr.io \
28
- --username ${{ github.actor }} \
29
- --password-stdin
+ - name: Log in to GitHub Container Registry
+ uses: docker/login-action@v3
+ with:
+ registry: ghcr.io
+ username: ${{ github.repository_owner }}
+ password: ${{ secrets.GHCR_AUTH_TOKEN }}
30
- name: Pull template
31
32
git clone https://github.com/tschaefer/openfaas-perl-mojo-template -b full-mojo _template
0 commit comments