-
Notifications
You must be signed in to change notification settings - Fork 13
44 lines (37 loc) · 1.11 KB
/
base-pkg-image.yml
File metadata and controls
44 lines (37 loc) · 1.11 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: base-pkg-image
description: |
Build (and push) the base-pkg image
on:
workflow_dispatch:
inputs:
cargo-pgrx-version:
required: false
type: string
default: "0.15.0"
description: |
version of cargo-pgrx to download (inside image build)
permissions:
contents: none
jobs:
build-and-push-builder-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
- name: Log in to GHCR
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build base-pkg image
env:
BUILDER_IMAGE_ARG_CARGO_PGRX_VERSION: ${{ inputs.cargo-pgrx-version }}
run: |
just build-base-pkg-image
- name: Push base-pkg image
run: |
just push-base-pkg-image