-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (45 loc) · 1.5 KB
/
update-native-image-builders.yml
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
45
46
47
name: Update Native Image Builders
on:
workflow_dispatch:
inputs:
ref:
description: 'Github Ref'
required: false
default: 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.ref }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Login to Github Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_PACKAGE_TOKEN }}
- name: Build and Push graalvm-ce-22.0.0-java11
uses: docker/build-push-action@v2
continue-on-error: true
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
file: distributions/docker-builders/Dockerfile-nativeimage
build-args: FROM_VERSION=ol8-java11-22.0.0.2-b1
tags: ghcr.io/optum/ci/nativeimage:graalvm-ce-22.0.0-java11
push: true
- name: Build and Push graalvm-ce-22.0.0-java17
uses: docker/build-push-action@v2
continue-on-error: true
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
file: distributions/docker-builders/Dockerfile-nativeimage
build-args: FROM_VERSION=ol8-java17-22.0.0.2-b1
tags: ghcr.io/optum/ci/nativeimage:graalvm-ce-22.0.0-java17
push: true