This makes removing packages from base image actually reduce image size (downloads will be smaller), but prevents sharing of layers, increasing space usage on registry.
This commit is contained in:
parent
622664ece1
commit
33a6cde64d
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: cd ${{ env.GITHUB_WORKSPACE }}
|
- run: cd ${{ env.GITHUB_WORKSPACE }}
|
||||||
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
|
- run: podman login -u ${{ vars.REGISTRY_USERNAME }} -p ${{ secrets.REGISTRY_PASSWORD }} ${{ vars.REGISTRY_DOMAIN }}
|
||||||
- run: podman build . --no-cache --pull newer --squash -t docker://${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
- run: podman build . --no-cache --pull newer --squash-all -t docker://${{ vars.REGISTRY_DOMAIN }}/${{ vars.MAIN_IMAGE }}:40
|
||||||
- run: podman image prune -f
|
- run: podman image prune -f
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue