-
Notifications
You must be signed in to change notification settings - Fork 7
27 lines (26 loc) · 771 Bytes
/
base.yml
File metadata and controls
27 lines (26 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: base
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag name of the image (e.g., opam-2.0.7-ocaml-4.11.1)'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: base
file: base/Dockerfile
push: true
tags: ghcr.io/amutake/satysfi-base-image:${{ github.event.inputs.tag }}
platforms: linux/amd64,linux/arm64