Skip to content

Commit

Permalink
ci: hardcode docker username
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Aug 20, 2024
1 parent 5694325 commit 5ef81a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

env:
GHCR_REGISTRY: ghcr.io
DOCKER_USERNAME: ignisda

permissions:
contents: write
Expand All @@ -31,8 +32,6 @@ jobs:
- name: Set outputs
id: set_outputs
uses: actions/github-script@v7
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
script: |
const repositoryName = context.payload.repository.name;
Expand Down Expand Up @@ -218,7 +217,7 @@ jobs:
uses: docker/login-action@v3
continue-on-error: true
with:
username: ${{ secrets.DOCKER_USERNAME }}
username: ${{ env.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata for Docker
id: meta
Expand Down

0 comments on commit 5ef81a7

Please sign in to comment.