Skip to content

Commit

Permalink
Changed to use GITHUB_TOKEN instead of PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
AdalbertMemSQL committed Aug 19, 2024
1 parent 7dc66f9 commit e53801a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 198 deletions.
197 changes: 0 additions & 197 deletions .github/workflow/docker.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
permissions:
contents: read
packages: write
attestations: write
id-token: write
outputs:
commit_hash: ${{ steps.get_commit_hash.outputs.commit_hash }}
sha256: ${{ steps.calculate_checksum.outputs.sha256 }}
Expand All @@ -43,7 +45,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.PAT_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down

0 comments on commit e53801a

Please sign in to comment.