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

Commit

Permalink
Update dockerize-latest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wickywaka authored Jul 28, 2022
1 parent cc25713 commit 91b0536
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/dockerize-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Push latest

on:
push:
branches: [ pull-request ]
branches: [ master ]
workflow_dispatch:

jobs:
Expand All @@ -28,25 +28,27 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Build and Push ldap
- name: Build and Push Dockerfile.ldap
id: docker_build_ldap
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
file: Dockerfile.ldap
tags: wickywaka/docker-dhcpd:ldap-latest
tags: networkboot/dhcpd:ldap-latest

- name: Build and Push

- name: Print LDAP Image Digest
run: echo ${{ steps.docker_build_ldap.outputs.digest }}

- name: Build and Push Dockerfile
id: docker_build
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
tags: networkboot/dhcpd:latest


- name: Print Image Digest
run: echo ${{ steps.docker_build.outputs.digest }}

- name: Print LDAP Image Digest
run: echo ${{ steps.docker_build_ldap.outputs.digest }}

0 comments on commit 91b0536

Please sign in to comment.