Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
curtishall authored Nov 21, 2023
1 parent ce17df4 commit 677c6ba
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: Publish Docker image
on:
push:
# TODO: Add push type for release
# Publish `master` as Docker `latest` image.
branches:
- master
- mysql

branches: [ "dev", "master" ]
pull_request:
branches: [ "dev", "master" ]
# Publish `v1.2.3` tags as releases.
tags:
- v*

# Run tests for any PRs.
pull_request:
# pull_request:

# steps:
# - uses: actions/checkout@v2
Expand Down Expand Up @@ -75,7 +72,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: bluecherrydvr/bluecherry

Expand All @@ -88,5 +85,5 @@ jobs:
# password: ${{ secrets.DOCKER_PASSWORD }}
# file: ./server/Dockerfile
push: true
tags: bluecherrydvr/bluecherry:${{ env.BRANCH }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 677c6ba

Please sign in to comment.