Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
When trying to use the docker image built by the pipeline for lambda it fails with this error The image manifest or layer media type for the source image 305686791668.dkr.ecr.ap-southeast-2.amazonaws.com/auto-scheduler:main-e3745b8 is not supported.

this always happens on the main branch for some reason as it was not encountered with the test tag but nevertheless here is the issue on github:
docker/buildx#1509 (comment)
exercism/github-actions#113
  • Loading branch information
mdesouky committed Jul 26, 2023
1 parent d74a2c8 commit edf1d0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ jobs:
file: Dockerfile
cache-from: type=gha
cache-to: type=gha, mode=max
provenance: false
push: true
# Default to just the git short hash. if docker-tag-latest ; also tag as the latest image
tags: ${{inputs.docker-repository}}:${{inputs.docker-prefix && format('{0}-', inputs.docker-prefix) || ''}}${{env.GIT_SHORT_HASH}}${{inputs.docker-tag-latest && format(',{0}:latest',inputs.docker-repository)|| ''}}
Expand Down

0 comments on commit edf1d0c

Please sign in to comment.