Skip to content

Commit

Permalink
Docker login
Browse files Browse the repository at this point in the history
Signed-off-by: Flynn <flynn@buoyant.io>
  • Loading branch information
kflynn committed Mar 6, 2024
1 parent 6275ff1 commit a0e7e2d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
with:
go-version: '1.20' # This needs to be a string!

- name: Token check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
curl -v -H "Accept: application/vnd.github+json" -H "Authorization: token $GITHUB_TOKEN" 'https://api.github.com/orgs/BuoyantIO/packages?package_type=container'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run goreleaser release
uses: goreleaser/goreleaser-action@v5
Expand Down

0 comments on commit a0e7e2d

Please sign in to comment.