Skip to content

Commit

Permalink
Add some notes
Browse files Browse the repository at this point in the history
  • Loading branch information
soapy1 committed Jan 8, 2025
1 parent 1cf15bc commit 714640e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Build Docker image
# This workflow builds the conda-store-ui docker image for each
# pull request. This will ensure that no PR is breaking the docker
# image, which will be built and pushed to GHCR when a new release
# is cut.

on:
pull_request:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ jobs:
with:
images: |
${{ env.GH_CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}
# ref: https://github.com/docker/metadata-action?tab=readme-ov-file#typeref
# create tags for:
# * the GH tag (eg. 2025.1.8)
# * the branch (eg. main)
# * the commit sha (eg. sha-860c190)
tags: |
type=ref,event=tag
type=ref,event=branch
Expand All @@ -193,6 +198,7 @@ jobs:
${{ steps.meta.outputs.tags }}
push: true
labels: ${{ steps.meta.outputs.labels }}
# ref https://docs.docker.com/build/ci/github-actions/cache/
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down

0 comments on commit 714640e

Please sign in to comment.