Skip to content

Commit

Permalink
Test docker image builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisPenner committed May 7, 2024
1 parent 575f158 commit 9c0c763
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ucm-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
required: false
default: false

push:
branches:
- cp/test-ucm-docker-image

jobs:
docker-image:
name: Build and push ucm docker image
Expand Down Expand Up @@ -50,14 +54,13 @@ jobs:
latest=false
tags: |
type=schedule,pattern={{date 'YYYY-MM-DD'}}
type=raw,value=v${{ inputs.version }},enable=${{ github.event.inputs.is_release }}
type=raw,value=v0.5.19,enable=true
type=ref,event=tag
type=ref,event=push
type=sha,format=long
type=raw,tag=${{ inputs.image_tag }}
# set latest tag for pushes to trunk
type=raw,value=latest,enable=${{ github.event.inputs.is_release }}
type=raw,value=nightly,enable=${{ !github.event.inputs.is_release }}
type=raw,value=latest,enable=true
type=raw,value=nightly,enable=false
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
Expand Down

0 comments on commit 9c0c763

Please sign in to comment.