Skip to content

ghcr.io/terrateamio/self-hosted-runner:latest #1

ghcr.io/terrateamio/self-hosted-runner:latest

ghcr.io/terrateamio/self-hosted-runner:latest #1

name: ghcr.io/terrateamio/self-hosted-runner:latest
on:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
ubuntu_latest_deploy:
runs-on: ubuntu-latest
steps:
- name: Copy Repo Files
uses: actions/checkout@master
- 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@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
pull: true
push: true
tags: ghcr.io/${{ env.ORG }}/self-hosted-runner:latest
platforms: linux/amd64,linux/arm64
cache-from: type=gha
cache-to: type=gha,mode=max