fix: pull image before tagging stable to avoid 'No such image' error\n\n- After multi-platform buildx push, the image isn't local; docker pull ensures it's present for tagging.
All checks were successful
Build and Push Sandbox Base Image / build (push) Successful in 24m12s
All checks were successful
Build and Push Sandbox Base Image / build (push) Successful in 24m12s
This commit is contained in:
@@ -52,5 +52,6 @@ jobs:
|
|||||||
- name: Tag and push stable (main only)
|
- name: Tag and push stable (main only)
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
|
docker pull ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:${{ github.sha }}
|
||||||
docker tag ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:${{ github.sha }} ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:stable
|
docker tag ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:${{ github.sha }} ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:stable
|
||||||
docker push ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:stable
|
docker push ${{ secrets.DOCKER_REGISTRY }}/${{ steps.meta.outputs.repo }}:stable
|
||||||
|
|||||||
Reference in New Issue
Block a user