Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Use dynamic architecture detection for linux-headers package #4

Use dynamic architecture detection for linux-headers package

Use dynamic architecture detection for linux-headers package #4

Workflow file for this run

name: Publish Repo image
on:
workflow_dispatch:
push:
branches:
- master
- v3
paths:
- repo/**
jobs:
push_to_registry:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
name: Build and Push Docker image to Github Packages
steps:
- name: Check out repo
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Login to ghcr.io
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
- name: Build and push repo
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4.2.1
with:
context: repo
pull: true
push: true
tags: |
ghcr.io/codize-dev/piston/repo-builder:latest
ghcr.io/codize-dev/piston/repo-builder:${{ github.sha }}