diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aac531d..907857f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,8 +10,8 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -32,8 +32,8 @@ jobs: - test if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -55,11 +55,11 @@ jobs: if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'main') steps: - name: Check out the repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4.0.1 + uses: docker/metadata-action@v5.5.1 with: # list of Docker images to use as base name for tags images: | @@ -84,14 +84,14 @@ jobs: - name: Login to GHCR if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'main') - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push master Docker image - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v6.8.0 with: context: . push: ${{ github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'main') }}