Skip to content

Commit

Permalink
Switch to default implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
marchermans committed Nov 10, 2024
1 parent e8d85cb commit 2d8bf36
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@ name: Docker Build
# documentation.

on:
workflow_dispatch:
push:
branches: [ master ]
branches:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- 'master'

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -47,17 +54,16 @@ jobs:

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
- name: Docker meta
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: type=raw,value=${{ steps.tag_version.outputs.new_tag }},enable=true,priority=900

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v5
with:
context: .
file: LDTTeam.Authentication.Server/Dockerfile
Expand Down

0 comments on commit 2d8bf36

Please sign in to comment.