diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3e4e349..7d3746b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,9 +28,10 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push Docker images - # uses: docker/build-push-action@4a531fa5a603bab87dfa56578bd82b28508c9547 - uses: docker/build-push-action@v2.2.2 + - name: Publish changed images + uses: dawidd6/action-docker-publish-changed@v3 with: - push: true - tags: lucasw89/monthly-budget:latest + username: ${{secrets.DOCKERHUB_USERNAME}} + password: ${{secrets.DOCKERHUB_TOKEN}} + platforms: linux/amd64,linux/arm64,linux/arm + tag: latest