Skip to content

Fail to push image to registry after 2023.01.21 #780

@can019

Description

@can019

Troubleshooting

Before submitting a bug report please read the Troubleshooting doc.

Behaviour

Steps to reproduce this issue

  1. 2023.01.16 was the last success and had not failed before.
  2. Nothing was changed in my action.yml but suddenly started to fail after 2023.01.21
  3. Pushing images to registry by manual cli has been successed

Expected behaviour

Success to push images to registry

Actual behaviour

Success to build image but failed to push images to registry

Configuration

  • Repository URL (if public): private
  • Build URL (if public): private

Not work after 2023.01.21

   - name: Set up QEMU
        uses: docker/setup-qemu-action@v2

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2

      - name: Login to Docker Hub
        uses: docker/login-action@v2
        with:
          registry: registry.***
          username: ${{ secrets.HARBOR_USER_NAME }}
          password: ${{ secrets.HARBOR_PASSWORD }}
        
      - name: Build and push image to harbor
        uses: docker/build-push-action@v3
        with:
          push: true
          tags: registry.***/***/node:latest
          target: production
          cache-from: type=gha
          cache-to: type=gha,mode=max

This yml success

      - name: Set up QEMU
        uses: docker/setup-qemu-action@v2

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2

      - name: Login to Docker Hub
        uses: docker/login-action@v2
        with:
          registry: registry.***
          username: ${{ secrets.HARBOR_USER_NAME }}
          password: ${{ secrets.HARBOR_PASSWORD }}
        
      - name: Build image manualy
        run: docker build --tag registry.***/***/node:latest --target production .

      - name: Check docker image
        run: docker image ls
      
      - name: Push to harbor manualy
        run: docker push registry.***/***/node:latest

Logs

스크린샷 2023-01-27 오후 4 49 42

buildx failed with: ERROR: failed to solve: failed to push registry.***/***/node:latest: failed commit on ref
 "manifest-sha256:3dd1ff***": unexpected status: 500 Internal Server Error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions