-
Notifications
You must be signed in to change notification settings - Fork 709
Closed
Description
Troubleshooting
Before submitting a bug report please read the Troubleshooting doc.
Behaviour
Steps to reproduce this issue
Build an image and push to local registry
- name: build and push to local registry
uses: docker/build-push-action@v3.3.0
with:
context: ${{ inputs.context }}
file: ${{ inputs.context }}/${{ inputs.dockerfile }}
no-cache: ${{ inputs.no_cache }}
build-args: ${{ inputs.build_args }}
push: true
tags: ${{ env.LOCAL_IMAGE }}
cache-to: type=inline
provenance: false
Use buildx to copy the image to a GCR registry
- name: copy tagged image to sre gcr
if: inputs.image_build == true
shell: bash
run: |
docker buildx imagetools create \
--tag "${{ steps.set-images.outputs.base }}:${{ inputs.image_tag }}" \
${{ env.LOCAL_IMAGE }}
Expected behaviour
Tell us what should happen
One image should be created
Actual behaviour
Instead, I am seeing this weird behaviour
Tell us what happens instead
Configuration
My workflow uses the local registry service
services:
registry:
image: registry:2
ports:
- 5000:5000
FWIW
- Repository URL (if public):
- Build URL (if public):
# paste your YAML workflow file here and remove sensitive dataLogs
Download the log file of your build and attach it to this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
