Skip to content

ubuntu-22.04

ubuntu-22.04 #2

Workflow file for this run

name: ubuntu-22.04
on:
workflow_dispatch:
inputs:
runner_image_version:
description: 'Ubuntu 22.04 Runner Image Version (example: 20240422.1)'
required: true
type: string
jobs:
build-docker-image:
runs-on: sprinters:aws/us-east-1/m7i.8xlarge/temp=1024
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile-ubuntu-22.04
build-args: RUNNER_IMAGE_VERSION=${{ inputs.runner_image_version }}
platforms: linux/amd64
push: true
tags: |
ghcr.io/sprinters-sh/sprinters-image-ubuntu-22.04:latest
ghcr.io/sprinters-sh/sprinters-image-ubuntu-22.04:${{ inputs.runner_image_version }}
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=sprinters.sh runner,annotation-index.org.opencontainers.image.licenses=MIT,annotation-index.org.opencontainers.source=https://github.com/sprinters-sh/sprinter-image