Skip to content

chore(deps): bump the github-actions-dependencies group across 1 directory with 11 updates #239

chore(deps): bump the github-actions-dependencies group across 1 directory with 11 updates

chore(deps): bump the github-actions-dependencies group across 1 directory with 11 updates #239

Workflow file for this run

name: Build and push runner image
on:
push:
branches:
- "main"
paths:
- "docker/runner.Dockerfile"
- "docker/runner.Dockerfile.dockerignore"
- ".github/workflows/build-runner.yaml"
pull_request:
paths:
- "docker/runner.Dockerfile"
- "docker/runner.Dockerfile.dockerignore"
- ".github/workflows/build-runner.yaml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
push_to_registry:
name: Build and push runner image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: "🔧 Login to GitHub Container Registry"
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: "Copy docker image dependencies"
run: cp pyproject.toml requirements.lock requirements-dev.lock .python-version README.md rust-toolchain.toml docker/
shell: bash
- name: Build and push Docker image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf
with:
context: ./docker
file: ./docker/runner.Dockerfile
push: ${{ github.ref == 'refs/heads/main' }}
tags: ghcr.io/dfinity/dre/actions-runner:${{ github.sha }}