Skip to content

Commit

Permalink
github: update ghcr authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergrind committed Jul 24, 2024
1 parent 7bb1a45 commit d48f927
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
name: create and save container
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: docker/login-action@v1
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker pull ghcr.io/micro-fan/python:latest || true
- run: >
PY_VERSION=python${{ matrix.py_version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker pull ghcr.io/micro-fan/python:latest || true
- run: >
PY_VERSION=python${{ matrix.py_version }}
Expand All @@ -37,8 +37,8 @@ jobs:
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker pull ghcr.io/micro-fan/python:latest || true
- run: >
PY_VERSION=python3.12
Expand Down

0 comments on commit d48f927

Please sign in to comment.