fix: copy full images
This commit is contained in:
@@ -117,41 +117,13 @@ jobs:
|
||||
gitea/runner-images:ubuntu-slim-20.04
|
||||
gitea/runner-images:ubuntu-slim-20.04-${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
|
||||
- name: Build and push full 22.04
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: dockerfiles/ubuntu.dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
pull: true
|
||||
push: true
|
||||
no-cache: true
|
||||
build-args: |
|
||||
BASE_IMAGE_TAG=full-22.04
|
||||
IMAGE_VERSION=${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
|
||||
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
|
||||
tags: |
|
||||
gitea/runner-images:ubuntu-22.04-full
|
||||
gitea/runner-images:ubuntu-22.04-full-${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
gitea/runner-images:ubuntu-latest-full
|
||||
- name: Copy full 22.04
|
||||
run: |
|
||||
skopeo copy -a docker://ghcr.io/catthehacker/ubuntu:ubuntu-22.04-full docker://gitea/runner-images:ubuntu-22.04-full
|
||||
skopeo copy -a docker://ghcr.io/catthehacker/ubuntu:ubuntu-22.04-full docker://gitea/runner-images:ubuntu-22.04-full-${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
skopeo copy -a docker://ghcr.io/catthehacker/ubuntu:ubuntu-22.04-full docker://gitea/runner-images:ubuntu-latest-full
|
||||
|
||||
- name: Build and push full 20.04
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: dockerfiles/ubuntu.dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
pull: true
|
||||
push: true
|
||||
no-cache: true
|
||||
build-args: |
|
||||
BASE_IMAGE_TAG=full-20.04
|
||||
IMAGE_VERSION=${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
IMAGE_CREATED=${{ steps.meta.outputs.IMAGE_CREATED }}
|
||||
IMAGE_REVISION=${{ steps.meta.outputs.IMAGE_REVISION }}
|
||||
tags: |
|
||||
gitea/runner-images:ubuntu-20.04-full
|
||||
gitea/runner-images:ubuntu-20.04-${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
- name: Copy full 20.04
|
||||
run: |
|
||||
skopeo copy -a docker://ghcr.io/catthehacker/ubuntu:ubuntu-20.04-full docker://gitea/runner-images:ubuntu-22.04-full
|
||||
skopeo copy -a docker://ghcr.io/catthehacker/ubuntu:ubuntu-20.04-full docker://gitea/runner-images:ubuntu-22.04-full-${{ steps.meta.outputs.IMAGE_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user