Skip to content

Commit

Permalink
Setup CI build for Docker (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthalman authored Oct 12, 2024
1 parent e4c8c2b commit 6f86c2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/bump.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
workflow_call:
workflow_dispatch:
repository_dispatch:
types: [base-image-update]
pull_request:
branches: [ main, dev ]

env:
REGISTRY: ghcr.io
Expand All @@ -14,7 +14,7 @@ jobs:
uses: ./.github/workflows/init.yml

docker:
name: Publish Docker Image
name: Build Docker Image
runs-on: ubuntu-latest
needs: [ init ]

Expand All @@ -39,7 +39,7 @@ jobs:
with:
context: ./src
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: >
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.init.outputs.product-version }},
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.init.outputs.product-version-major }},
Expand Down

0 comments on commit 6f86c2c

Please sign in to comment.