docker: Re-add push for latest

This commit is contained in:
nitnelave 2022-06-30 11:48:57 +02:00 committed by GitHub
parent e39e141d6c
commit 6c0559c7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,6 +287,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
if: github.event_name != 'release'
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: nitnelave/lldap:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and push
if: github.event_name == 'release'
uses: docker/build-push-action@v3