Skip to content

fix: run as non-root user, drop RUNNER_ALLOW_RUNASROOT #4

fix: run as non-root user, drop RUNNER_ALLOW_RUNASROOT

fix: run as non-root user, drop RUNNER_ALLOW_RUNASROOT #4

Workflow file for this run

name: Build & Push Runner Image
on:
workflow_dispatch:
push:
paths:
- 'Dockerfile'
- 'entrypoint.sh'
permissions:
packages: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/remmik/linux-github-runner:latest