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

This commit is contained in:
Marcus A.
2026-04-08 00:15:56 +00:00
parent 0eaabc3d5d
commit 9c82ecb821

View File

@@ -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