Skip to content

Commit

Permalink
fix ghcr docker auth
Browse files Browse the repository at this point in the history
  • Loading branch information
erosson committed May 27, 2024
1 parent bb1ae5b commit d81f6d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
# username: ${{ github.actor }}
username: swarmsim # https://stackoverflow.com/a/70852324 - see comments
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
Expand Down

0 comments on commit d81f6d7

Please sign in to comment.