Skip to content

Commit ef0a77b

Browse files
committed
editing github token variable
1 parent 4c50337 commit ef0a77b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,13 @@ jobs:
4040
- name: Set up Docker Buildx
4141
id: buildx
4242
uses: docker/setup-buildx-action@v2
43-
- name: Set up cosign
44-
uses: sigstore/cosign-installer@main
4543
- name: Login to GitHub Container Registry
4644
uses: docker/login-action@v2
4745
with:
4846
registry: ghcr.io
4947
username: ${{ secrets.DOCKER_USERNAME }}
50-
password: ${{ secrets.GITHUB_TOKEN }}
51-
52-
#NODE image does not have a public key, but i will leave this here as an example of how to validate a base image.
53-
# - name: Verify base image
54-
# run: |
55-
# cosign dockerfile verify --base-image-only --key https://github.com/GoogleContainerTools/distroless Dockerfile
56-
48+
password: ${{ secrets.TOKEN }}
49+
5750
- name: Publish container image
5851
uses: docker/build-push-action@v3
5952
with:

0 commit comments

Comments
 (0)