File tree 1 file changed +5
-35
lines changed
1 file changed +5
-35
lines changed Original file line number Diff line number Diff line change 1
- name : Docker Image CI (Manual Build Only)
1
+ name : Docker Build Only
2
2
3
3
on :
4
4
workflow_dispatch :
7
7
build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - name : Checkout
11
- uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
10
+ - name : Checkout code
11
+ uses : actions/checkout@v3
12
12
13
- - name : Docker meta
14
- id : meta
15
- uses : docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
16
- with :
17
- images : |
18
- netflixoss/metaflow_metadata_service
19
- tags : |
20
- type=semver,pattern={{raw}}
21
- type=sha
22
- type=raw,value=latest
23
-
24
- # Optionally, you can remove the Docker Hub login step since we are not pushing.
25
- # - name: Login to Docker Hub
26
- # uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
27
- # with:
28
- # username: ${{ secrets.DOCKER_USERNAME_NETFLIX_OSS }}
29
- # password: ${{ secrets.DOCKER_AUTH_TOKEN_NETFLIX_OSS }}
30
-
31
- - name : Build (No Push)
32
- uses : docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
33
- with :
34
- context : .
35
- push : false
36
- tags : ${{ steps.meta.outputs.tags }}
37
- labels : ${{ steps.meta.outputs.labels }}
38
-
39
-
40
-
41
- context : .
42
- push : true
43
- tags : ${{ steps.meta.outputs.tags }}
44
- labels : ${{ steps.meta.outputs.labels }}
13
+ - name : Build Docker image
14
+ run : docker build . -t test-image:latest
You can’t perform that action at this time.
0 commit comments