diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bce96f28..76d3c56f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v3 - name: Log in to Docker Hub - uses: docker/login-action@2 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} @@ -24,7 +24,7 @@ jobs: images: nytimes/library - name: Build and push Docker image - uses: docker/build-push-action@4 + uses: docker/build-push-action@v4 with: context: . push: ${{ github.event_name != 'pull_request' }} # just to be safe