Skip to content

Commit

Permalink
[BUILD] setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
skrishnan-sap committed Oct 25, 2024
1 parent 8685ffc commit 444fa21
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Publish docker artifacts

on:
push:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]

concurrency: release-docker-${{ github.event.release.tag_name }}
branches: ["image-builder"]

env:
REGISTRY: ghcr.io
Expand All @@ -18,7 +16,8 @@ jobs:
name: Publish Docker image
strategy:
matrix:
workload: ["controller", "server", "web-hooks"]
workload: ["controller"]
# workload: ["controller", "server", "web-hooks"]
runs-on: ubuntu-22.04
permissions:
contents: read
Expand Down Expand Up @@ -49,7 +48,7 @@ jobs:
uses: docker/metadata-action@v5
with:
tags: |
type=semver,pattern={{version}}
type=sha,format=short
images: ${{ steps.prepare-repository-name.outputs.repository }}

- name: Build and push Docker image
Expand Down

0 comments on commit 444fa21

Please sign in to comment.