Don't build Ubuntu 20.04 #25
@@ -78,26 +78,6 @@ jobs: | ||||
gitea/runner-images:ubuntu-22.04 | ||||
gitea/runner-images:ubuntu-22.04-${{ steps.meta.outputs.IMAGE_VERSION }} | ||||
| ||||
- name: Build and push default 20.04 | ||||
uses: docker/build-push-action@v6 | ||||
with: | ||||
context: . | ||||
file: dockerfiles/ubuntu.dockerfile | ||||
platforms: | | ||||
linux/amd64 | ||||
linux/arm64 | ||||
pull: true | ||||
push: true | ||||
no-cache: true | ||||
build-args: | | ||||
BASE_IMAGE_TAG=act-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 | ||||
gitea/runner-images:ubuntu-20.04-${{ steps.meta.outputs.IMAGE_VERSION }} | ||||
| ||||
release-slim: | ||||
runs-on: ubuntu-latest | ||||
container: | ||||
@@ -168,26 +148,6 @@ jobs: | ||||
gitea/runner-images:ubuntu-22.04-slim | ||||
gitea/runner-images:ubuntu-22.04-slim-${{ steps.meta.outputs.IMAGE_VERSION }} | ||||
| ||||
- name: Build and push slim 20.04 | ||||
uses: docker/build-push-action@v6 | ||||
with: | ||||
context: . | ||||
file: dockerfiles/ubuntu-slim.dockerfile | ||||
platforms: | | ||||
linux/amd64 | ||||
linux/arm64 | ||||
pull: true | ||||
push: true | ||||
no-cache: true | ||||
build-args: | | ||||
BASE_IMAGE_TAG=20-bullseye-slim | ||||
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-slim | ||||
gitea/runner-images:ubuntu-20.04-slim-${{ steps.meta.outputs.IMAGE_VERSION }} | ||||
| ||||
release-full: | ||||
runs-on: ubuntu-latest | ||||
container: | ||||
@@ -221,10 +181,3 @@ jobs: | ||||
echo "copy catthehacker/ubuntu:full-22.04 -> gitea/runner-images:$dest" | ||||
skopeo copy -a --dest-creds ${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }} docker://ghcr.io/catthehacker/ubuntu:full-22.04 docker://gitea/runner-images:$dest | ||||
done | ||||
| ||||
- name: Copy full 20.04 | ||||
run: | | ||||
for dest in ubuntu-20.04-full ubuntu-20.04-full-${{ steps.meta.outputs.IMAGE_VERSION }}; do | ||||
echo "copy catthehacker/ubuntu:full-20.04 -> gitea/runner-images:$dest" | ||||
skopeo copy -a --dest-creds ${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }} docker://ghcr.io/catthehacker/ubuntu:full-20.04 docker://gitea/runner-images:$dest | ||||
done | ||||
| ||||
Reference in New Issue
Block a user