Skip to content

Commit a10ba47

Browse files
authored
CLDR-14145 JSP: automatically push to gcr.io on tag (#17)
* CLDR-14145 push to us.gcr.io on tag - also, bump JDK to 16
1 parent 5d838ac commit a10ba47

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Push to GCR Github Action
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
build-and-push-to-gcr:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Get the version
12+
id: get_tag_name
13+
run: echo ::set-output name=GIT_TAG_NAME::${GITHUB_REF/refs\/tags\//}
14+
- uses: RafikFarhad/push-to-gcr-github-action@v3
15+
with:
16+
gcloud_service_key: ${{ secrets.GCLOUD_SERVICE_KEY }}
17+
registry: us.gcr.io
18+
project_id: dev-infra-273822
19+
image_name: unicode-jsps
20+
image_tag: ${{ steps.get_tag_name.outputs.GIT_TAG_NAME}}
21+
dockerfile: ./UnicodeJsps/Dockerfile
22+
context: ./UnicodeJsps/

UnicodeJsps/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) 2020 and later Unicode, Inc. and others. All Rights Reserved.
22
# Use -eJDKVERSION=13 -eTOMCATVERSION=8 for example to change these
3-
ARG JDKVERSION=14
3+
ARG JDKVERSION=16
44
FROM openjdk:${JDKVERSION}-alpine AS build
55
# Need ant, add it. Yes, this pulls in JDK8, but it's an easier
66
# way to manage this.

0 commit comments

Comments
 (0)