Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 91b0536

Browse files
authored
Update dockerize-latest.yml
1 parent cc25713 commit 91b0536

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/dockerize-latest.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Push latest
22

33
on:
44
push:
5-
branches: [ pull-request ]
5+
branches: [ master ]
66
workflow_dispatch:
77

88
jobs:
@@ -28,25 +28,27 @@ jobs:
2828
username: ${{ secrets.DOCKER_HUB_USERNAME }}
2929
password: ${{ secrets.DOCKER_HUB_TOKEN }}
3030

31-
- name: Build and Push ldap
31+
- name: Build and Push Dockerfile.ldap
3232
id: docker_build_ldap
3333
uses: docker/build-push-action@v2
3434
with:
3535
platforms: linux/amd64,linux/arm/v7,linux/arm64
3636
push: true
3737
file: Dockerfile.ldap
38-
tags: wickywaka/docker-dhcpd:ldap-latest
38+
tags: networkboot/dhcpd:ldap-latest
3939

40-
- name: Build and Push
40+
41+
- name: Print LDAP Image Digest
42+
run: echo ${{ steps.docker_build_ldap.outputs.digest }}
43+
44+
- name: Build and Push Dockerfile
4145
id: docker_build
4246
uses: docker/build-push-action@v2
4347
with:
4448
platforms: linux/amd64,linux/arm/v7,linux/arm64
4549
push: true
4650
tags: networkboot/dhcpd:latest
4751

52+
4853
- name: Print Image Digest
4954
run: echo ${{ steps.docker_build.outputs.digest }}
50-
51-
- name: Print LDAP Image Digest
52-
run: echo ${{ steps.docker_build_ldap.outputs.digest }}

0 commit comments

Comments
 (0)