Added gitea CI/CD configuration
Some checks failed
Create Docker Image / Build Docker Image (push) Successful in 2m43s
Create Docker Image / Final Docker Image Manifest (push) Failing after 0s

This commit is contained in:
Deon George 2024-04-07 11:42:30 +10:00
parent 3042c52c9f
commit fa7fdc7532

View File

@ -52,3 +52,18 @@ jobs:
file: ./Dockerfile
push: true
tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSIONARCH }}"
manifest:
name: Final Docker Image Manifest
runs-on: docker-x86
container:
image: docker:dind
privileged: true
needs: build
steps:
- name: Build Docker Manifest
run: |
docker manifest create ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}-x86_64 \
# ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}-armv7l
docker manifest push --purge ${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSION }}