FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
feast-java-old/.github/workflows/master_only.yml at master · feast-dev/feast-java-old · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
feast-dev
/
feast-java-old
Public
Notifications
You must be signed in to change notification settings
Fork
26
Star
12
Code
Issues
3
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
feast-java-old
/
.github
/
workflows
/
master_only.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
45 lines (43 loc) · 1.5 KB
Breadcrumbs
feast-java-old
/
.github
/
workflows
/
master_only.yml
Copy path
File metadata and controls
45 lines (43 loc) · 1.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
master only
on
:
push
:
branches
:
-
master
tags
:
-
'
v*.*.*
'
jobs
:
build-docker-images
:
runs-on
:
ubuntu-latest
strategy
:
matrix
:
component
:
[core, serving]
env
:
MAVEN_CACHE
:
gs://feast-templocation-kf-feast/.m2.2020-08-19.tar
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
'
true
'
-
uses
:
google-github-actions/setup-gcloud@master
with
:
version
:
'
290.0.1
'
export_default_credentials
:
true
project_id
:
${{ secrets.GCP_PROJECT_ID }}
service_account_key
:
${{ secrets.GCP_SA_KEY }}
-
run
:
gcloud auth configure-docker --quiet
-
name
:
Get m2 cache
run
:
|
infra/scripts/download-maven-cache.sh \
--archive-uri ${MAVEN_CACHE} \
--output-dir .
-
name
:
Get version
run
:
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
-
name
:
Build image
run
:
make build-${{ matrix.component }}-docker REGISTRY=gcr.io/kf-feast VERSION=${GITHUB_SHA}
-
name
:
Push image
run
:
make push-${{ matrix.component }}-docker REGISTRY=gcr.io/kf-feast VERSION=${GITHUB_SHA}
-
name
:
Push development Docker image
run
:
|
if [ ${GITHUB_REF#refs/*/} == "master" ]; then
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} gcr.io/kf-feast/feast-${{ matrix.component }}:develop
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:develop
fi
Back
|
FazBrowse Home
|
New Git URL