Skip to content

feat: ci check for release index #1

feat: ci check for release index

feat: ci check for release index #1

Workflow file for this run

name: Build and push runner image
on:
push:
branches:
- "main"
paths:
- "docker/runner.Dockerfile"
- "docker/runner.Dockerfile.dockerignore"
pull_request:
paths:
- "docker/runner.Dockerfile"
- "docker/runner.Dockerfile.dockerignore"
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: "🔧 Login to GitHub Container Registry"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: ./docker
file: ./docker/runner.Dockerfile
push: ${{ github.ref == 'refs/heads/main' }}
tags: ghcr.io/dfinity/dre/actions-runner:${{ github.sha }}