Skip to content

Commit

Permalink
feat(ci): add release pipeline flow
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 committed Sep 2, 2024
1 parent d83e473 commit 57d9f81
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,23 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}


- name: Build Docker image
uses: docker/build-push-action@v6
if: ${{ inputs.publish == false }}
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
outputs: type=oci,dest=image.tar

- name: Build and push Docker image
id: build
uses: docker/build-push-action@v6
if: ${{ inputs.publish == true }}
with:
context: .
platforms: linux/amd64,linux/arm64
Expand All @@ -76,9 +89,9 @@ jobs:
- name: Upload image artifact
uses: actions/upload-artifact@v4
with:
name: Kube-Pod-Autocomplete-Image
name: Kube-Pod-Autocomplete image
path: image.tar

g
binary:
name: Binary
runs-on: ubuntu-latest
Expand Down

0 comments on commit 57d9f81

Please sign in to comment.