Update docker-publish.yml

This commit is contained in:
kodxana 2022-05-13 16:04:26 +02:00 committed by GitHub
parent 655c29aef8
commit fe443c47fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ on:
push: push:
branches: [ master ] branches: [ master ]
# Publish semver tags as releases. # Publish semver tags as releases.
tags: [ 'v*.*.*' ] tags: [ 'latest' ]
pull_request: pull_request:
branches: [ master ] branches: [ master ]
@ -61,7 +61,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: madiator2011/lbcd
# Build and push Docker image with Buildx (don't push on PR) # Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action # https://github.com/docker/build-push-action