diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index b035388..703e0b9 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -38,7 +38,9 @@ jobs: run: echo "$GITHUB_CONTEXT" - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v7 + with: + persist-credentials: false - name: Prepare Tags id: prep @@ -54,34 +56,34 @@ jobs: fi # Set output parameters. - echo ::set-output name=tags::${TAGS} + echo "tags=${TAGS}" >> "$GITHUB_OUTPUT" - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v4 with: platforms: all - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v4 - name: Login to DockerHub if: ${{ github.event_name != 'pull_request' && env.DOCKERHUB_ORG != '' }} - uses: docker/login-action@v1 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to GitHub Container Registry if: ${{ github.event_name != 'pull_request' }} - uses: docker/login-action@v1 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v7 with: builder: ${{ steps.buildx.outputs.name }} context: ./src