Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SnazziesLab/Topica
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzie committed Jan 29, 2024
2 parents d111d9c + 86d7810 commit 1d445b3
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
push:
branches: ["master"]
# Publish semver tags as releases.
tags: ["*.*.*"]
tags: ["v*.*.*"]
pull_request:
branches: ["master"]

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
# 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
id: build-and-push
id: build-and-push-server
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: Source/Topica.Server/Topica.Server
Expand All @@ -79,7 +79,18 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max


- name: Build and push Docker image
id: build-and-push-ui
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: Source/Topica.UI
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
Expand Down

0 comments on commit 1d445b3

Please sign in to comment.