diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index b6faef4..de2a477 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: Publish Docker image on: push: branches: - - 'main' + - 'main' jobs: push_to_registry: @@ -16,13 +16,19 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 - + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to Docker Hub uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 @@ -30,7 +36,7 @@ jobs: images: ${{ vars.IMAGE_NAME }} tags: | type=raw,value=latest - + - name: Build and push Docker image id: push uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671