Skip to content

Commit

Permalink
Move login into container
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel authored Jun 3, 2022
1 parent 985d6cb commit 5f2757c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/buildpacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build buildpacks, builders
uses: stuartleeks/devcontainer-build-run@main
Expand All @@ -27,6 +22,7 @@ jobs:
push: never
runCmd: |
set -e
echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u "${{ github.actor }}" --password-stdin ghcr.io
cd devpacks
go mod download
make buildpacks
Expand Down

0 comments on commit 5f2757c

Please sign in to comment.