diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 25b9e19..29cbebc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -30,12 +30,12 @@ jobs: uses: actions/checkout@v3 - name: Build the container image - uses: docker/build-push-action@v4.0.0 + uses: docker/build-push-action@v4.2.1 with: repository: golang-repo-template - name: Push to GitHub Packages - uses: docker/build-push-action@v4.0.0 + uses: docker/build-push-action@v4.2.1 if: github.event_name == 'release' || github.event_name == 'push' with: username: ${{ github.actor }} @@ -66,7 +66,7 @@ jobs: if: | (github.event_name == 'release' || github.event_name == 'push') && contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no') - uses: docker/build-push-action@v4.0.0 + uses: docker/build-push-action@v4.2.1 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }}