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 Sep 18, 2024
1 parent 2a3049c commit ad5c711
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 ad5c711

Please sign in to comment.