'Generic Commit'
This commit is contained in:
parent
6c96a2c729
commit
515cd64247
@ -43,12 +43,28 @@ jobs:
|
|||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Create manifest list
|
- name: Login to Gitea
|
||||||
run: |
|
uses: docker/login-action@v3
|
||||||
# Also tag as latest if on main branch
|
with:
|
||||||
|
registry: gitea.jde.nz
|
||||||
|
username: DoesntMatter
|
||||||
|
password: ${{ secrets.DOCKER_PUSH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create and push manifest list
|
||||||
|
run: |
|
||||||
|
# Only create manifest on main branch
|
||||||
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
|
if [ "$GITHUB_REF" = "refs/heads/main" ]; then
|
||||||
|
# Pull the architecture-specific images first to ensure they're available
|
||||||
|
docker pull gitea.jde.nz/public/dropshell-build-base:latest-x86_64
|
||||||
|
docker pull gitea.jde.nz/public/dropshell-build-base:latest-aarch64
|
||||||
|
|
||||||
|
# Create the manifest list
|
||||||
docker manifest create gitea.jde.nz/public/dropshell-build-base:latest \
|
docker manifest create gitea.jde.nz/public/dropshell-build-base:latest \
|
||||||
gitea.jde.nz/public/dropshell-build-base:latest-x86_64 \
|
--amend gitea.jde.nz/public/dropshell-build-base:latest-x86_64 \
|
||||||
gitea.jde.nz/public/dropshell-build-base:latest-aarch64
|
--amend gitea.jde.nz/public/dropshell-build-base:latest-aarch64
|
||||||
|
|
||||||
|
# Push the manifest list
|
||||||
docker manifest push gitea.jde.nz/public/dropshell-build-base:latest
|
docker manifest push gitea.jde.nz/public/dropshell-build-base:latest
|
||||||
|
|
||||||
|
echo "Manifest list created and pushed successfully"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user