Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not found after push #768

Closed
andreyluchianic opened this issue Jan 23, 2023 · 1 comment
Closed

Image not found after push #768

andreyluchianic opened this issue Jan 23, 2023 · 1 comment

Comments

@andreyluchianic
Copy link

Troubleshooting

Before submitting a bug report please read the Troubleshooting doc.

Behaviour

Nothing was changed in configurations but now so weird files are creating in registry together with image itself

Steps to reproduce this issue

Expected behaviour

should pushes image with tag latest

Actual behaviour

pushes image together with 2 weird files with weird date and time
Screenshot 2023-01-23 at 12 05 52

Screenshot 2023-01-23 at 12 04 03

Screenshot 2023-01-23 at 12 04 44

Configuration

  • Repository URL (if public):
  • Build URL (if public):
# paste your YAML workflow file here and remove sensitive data
name: CI

on:
  push:
    branches: ["main"]

jobs:
  build:
      name: Build and Test
      timeout-minutes: 15
      runs-on: ${{ matrix.os }}
      # To use Remote Caching, uncomment the next lines and follow the steps below.
      env:
       TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
       TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
      strategy:
        matrix:
          os: [ubuntu-latest]         # , macos-latest

      steps:
        - name: Check out code
          uses: actions/checkout@v3
          with:
            fetch-depth: 0

        - name: Setup Node.js environment
          uses: actions/setup-node@v3
          with:
            node-version: 16
            cache: yarn
        - name: Install dependencies
          run: yarn install
    #  *****|*****|*****| Strapi |*****|*****|***** 
        - name: Verify Strapi changed
          id: strapi_changed
          uses: tj-actions/changed-files@v35
          with:
            files: |
              apps/strapi-v4/**
        
        - name: Login to GCR
          if: steps.strapi_changed.outputs.any_changed == 'true'
          uses: docker/login-action@v2
          with:
            registry: gcr.io
            username: _json_key
            password: ${{ secrets.GCR_JSON_KEY }}

        - name: Docker - Set up QEMU
          if: steps.strapi_changed.outputs.any_changed == 'true'
          uses: docker/setup-qemu-action@v2

        - name: Docker - Set up Buildx
          if: steps.strapi_changed.outputs.any_changed == 'true'
          uses: docker/setup-buildx-action@v2
 
        - name: Strapi Backend - Build and push
          if: steps.strapi_changed.outputs.any_changed == 'true'
          uses: docker/build-push-action@v3
          with:
            context: .
            file: ./apps/strapi-v4/Dockerfile
            push: true

Logs

No error. CI/CD runs ok

Download the log file of your build and attach it to this issue.

@crazy-max
Copy link
Member

docker/buildx#1533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants