File tree 1 file changed +19
-21
lines changed
1 file changed +19
-21
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Image CI
2
-
3
- on :
4
- release :
5
- branches : [ master ]
6
-
7
1
jobs :
8
2
build :
9
3
runs-on : ubuntu-latest
10
4
steps :
11
- -
12
- name : Checkout
13
- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
14
- -
15
- name : Docker meta
5
+ - name : Checkout
6
+ uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
7
+
8
+ - name : Docker meta
16
9
id : meta
17
- uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
10
+ uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
18
11
with :
19
12
images : |
20
13
netflixoss/metaflow_metadata_service
21
14
tags : |
22
15
type=semver,pattern={{raw}}
23
16
type=sha
24
17
type=raw,value=latest
25
- -
26
- name : Login to Docker Hub
27
- uses : docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
28
- with :
29
- username : ${{ secrets.DOCKER_USERNAME_NETFLIX_OSS }}
30
- password : ${{ secrets.DOCKER_AUTH_TOKEN_NETFLIX_OSS }}
31
- -
32
- name : Build and push # We have a single-platform build, so use of setup-buildx-action is currently omitted.
33
- uses : docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
18
+
19
+ # - name: Login to Docker Hub
20
+ # uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
21
+ # with:
22
+ # username: ${{ secrets.DOCKER_USERNAME_NETFLIX_OSS }}
23
+ # password: ${{ secrets.DOCKER_AUTH_TOKEN_NETFLIX_OSS }}
24
+
25
+ - name : Build (No Push)
26
+ uses : docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
34
27
with :
28
+ context : .
29
+ push : false
30
+ tags : ${{ steps.meta.outputs.tags }}
31
+ labels : ${{ steps.meta.outputs.labels }}
32
+
35
33
context : .
36
34
push : true
37
35
tags : ${{ steps.meta.outputs.tags }}
You can’t perform that action at this time.
0 commit comments