Skip to content

Commit

Permalink
editing github token variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalerhino committed Oct 19, 2024
1 parent 4c50337 commit ef0a77b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,13 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Set up cosign
uses: sigstore/cosign-installer@main
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}

#NODE image does not have a public key, but i will leave this here as an example of how to validate a base image.
# - name: Verify base image
# run: |
# cosign dockerfile verify --base-image-only --key https://github.com/GoogleContainerTools/distroless Dockerfile

password: ${{ secrets.TOKEN }}

- name: Publish container image
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit ef0a77b

Please sign in to comment.