Skip to content

Initial commit

Initial commit #10

Workflow file for this run

name: Build XBPS container image
on:
push:
branches:
- docker
# TODO: create arch matrix
env:
GHCR_IMAGE: "ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:x86_64"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
run: |
docker build -t ${GHCR_IMAGE} image/x86_64
docker push ${GHCR_IMAGE}