mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-07-07 12:10:30 +00:00
update cd workflow
This commit is contained in:
parent
d7cb83228f
commit
5fef878b67
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
@ -10,7 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Build and push osbuilder image
|
name: Build and Push OSBuilder Image
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: 'read'
|
contents: 'read'
|
||||||
@ -45,7 +45,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: mjgpluralsh
|
username: mjgpluralsh
|
||||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: "."
|
context: "."
|
||||||
@ -59,6 +59,8 @@ jobs:
|
|||||||
build-args: |
|
build-args: |
|
||||||
GIT_COMMIT=${{ github.sha }}
|
GIT_COMMIT=${{ github.sha }}
|
||||||
release:
|
release:
|
||||||
|
name: Release Helm Chart and Create Github Release
|
||||||
|
if: startsWith(github.ref, 'refs/tags/') # Limit job to tag pushes
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user