diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 6bdc116..16b4f18 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -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 }} diff --git a/.github/workflows/latest.yml b/.github/workflows/latest.yml index 7145d3e..78c3833 100644 --- a/.github/workflows/latest.yml +++ b/.github/workflows/latest.yml @@ -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 }} @@ -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