diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7dd187c6..45f5fd9a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,6 +2,9 @@ name: Docker on: push: + pull_request: + branches: + - "handmade" jobs: publish: @@ -26,7 +29,7 @@ jobs: DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index - name: Login to DockerHub uses: docker/login-action@v1 - if: github.event_name != 'pull_request' + # if: github.event_name != 'pull_request' with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -34,7 +37,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - push: ${{ github.event_name != 'pull_request' }} + push: true # ${{ github.event_name != 'pull_request' }} platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} annotations: ${{ steps.meta.outputs.annotations }}