Skip to content

Commit 196b0ea

Browse files
authored
Update dockerimage.yml
1 parent 98b69dd commit 196b0ea

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/dockerimage.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1+
name: Docker Image CI (Manual Build Only)
2+
3+
on:
4+
workflow_dispatch:
5+
16
jobs:
27
build:
38
runs-on: ubuntu-latest
49
steps:
510
- name: Checkout
6-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
11+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
712

813
- name: Docker meta
914
id: meta
10-
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
15+
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
1116
with:
1217
images: |
1318
netflixoss/metaflow_metadata_service
@@ -17,19 +22,20 @@ jobs:
1722
type=raw,value=latest
1823
1924
#- name: Login to Docker Hub
20-
# uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
25+
# uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
2126
# with:
2227
# username: ${{ secrets.DOCKER_USERNAME_NETFLIX_OSS }}
2328
# password: ${{ secrets.DOCKER_AUTH_TOKEN_NETFLIX_OSS }}
2429

2530
- name: Build (No Push)
26-
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
31+
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
2732
with:
2833
context: .
2934
push: false
3035
tags: ${{ steps.meta.outputs.tags }}
3136
labels: ${{ steps.meta.outputs.labels }}
3237

38+
3339
context: .
3440
push: true
3541
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)