diff --git a/.github/workflows/ucm-docker-image.yaml b/.github/workflows/ucm-docker-image.yaml index 26cbe661410..64fd7c6ccca 100644 --- a/.github/workflows/ucm-docker-image.yaml +++ b/.github/workflows/ucm-docker-image.yaml @@ -16,10 +16,19 @@ on: required: false default: false + push: + branches: + - cp/test-ucm-docker-image + jobs: docker-image: name: Build and push ucm docker image runs-on: ubuntu-20.04 + + env: + container_registry: ghcr.io + docker_image_name: ucm + steps: - name: Download ucm executable and ucm UI uses: actions/download-artifact@v4 @@ -50,14 +59,12 @@ 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.