Skip to content

Commit

Permalink
better code is less hardcode
Browse files Browse the repository at this point in the history
Signed-off-by: mctaylors <[email protected]>
  • Loading branch information
mctaylors committed Oct 27, 2024
1 parent 276b495 commit 7ffcfaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ jobs:

- name: Push container
run: |
echo $CR_PAT | docker login ghcr.io -u TeamOctolings --password-stdin
echo $CR_PAT | docker login ghcr.io -u $REPO_OWNER --password-stdin
docker push ghcr.io/$NAMESPACE/$IMAGE_NAME:latest
shell: bash
env:
CR_PAT: ${{secrets.GITHUB_TOKEN}}
NAMESPACE: ${{vars.NAMESPACE}}
IMAGE_NAME: ${{vars.IMAGE_NAME}}
REPO_OWNER: ${{github.repository_owner}}

upload-solution:
name: Upload Octobot to production
Expand Down

0 comments on commit 7ffcfaf

Please sign in to comment.