diff --git a/.github/workflows/dev-docker-io.yml b/.github/workflows/dev-docker-io.yml index 64d1981..d2ef3b7 100644 --- a/.github/workflows/dev-docker-io.yml +++ b/.github/workflows/dev-docker-io.yml @@ -25,11 +25,18 @@ jobs: # username: ${{ secrets.DOCKER_USERNAME }} # password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and Push Docker Image to Github - uses: mr-smithers-excellent/docker-build-push@v6 + - name: Login to GHCR + uses: docker/login-action@v3 with: - image: ${{ env.IMAGE_NAME }} - tags: ${{ env.TAGS }} registry: ghcr.io - username: ${{ secrets.GHCR_USERNAME }} - password: ${{ secrets.GHCR_TOKEN }} \ No newline at end of file + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + platforms: linux/amd64 + push: true + tags: | + ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.TAGS }} \ No newline at end of file