Add docker images #5
73
.github/workflows/container-stable.yaml
vendored
73
.github/workflows/container-stable.yaml
vendored
@ -4,9 +4,9 @@ name: "Stable container"
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# branches:
|
# branches:
|
||||||
# - main
|
# - main
|
||||||
# paths:
|
# paths:
|
||||||
# - "src/**"
|
# - "src/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
containerization:
|
containerization:
|
||||||
@ -48,39 +48,38 @@ jobs:
|
|||||||
actor=${{ github.actor }}
|
actor=${{ github.actor }}
|
||||||
sha=${{ github.sha }}
|
sha=${{ github.sha }}
|
||||||
ref=${{ github.ref }}
|
ref=${{ github.ref }}
|
||||||
|
- name: Build helmfile
|
||||||
|
uses: docker/build-push-action@v2
|
||||||
|
with:
|
||||||
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
|
context: ./dockerfiles
|
||||||
|
file: ./Dockerfile-helmfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:latest
|
||||||
|
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:stable
|
||||||
|
labels: |
|
||||||
|
action_id=${{ github.action }}
|
||||||
|
action_link=${{ env.LINK }}
|
||||||
|
actor=${{ github.actor }}
|
||||||
|
sha=${{ github.sha }}
|
||||||
|
ref=${{ github.ref }}
|
||||||
|
|
||||||
- name: Build helmfile
|
- name: Build argo
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
context: ./dockerfiles
|
context: ./dockerfiles
|
||||||
file: ./Dockerfile-helmfile
|
file: ./Dockerfile-argo
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:latest
|
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:latest
|
||||||
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-helmfile:stable
|
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:stable
|
||||||
labels: |
|
labels: |
|
||||||
action_id=${{ github.action }}
|
action_id=${{ github.action }}
|
||||||
action_link=${{ env.LINK }}
|
action_link=${{ env.LINK }}
|
||||||
actor=${{ github.actor }}
|
actor=${{ github.actor }}
|
||||||
sha=${{ github.sha }}
|
sha=${{ github.sha }}
|
||||||
ref=${{ github.ref }}
|
ref=${{ github.ref }}
|
||||||
|
|
||||||
- name: Build argo
|
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
with:
|
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
|
||||||
context: ./dockerfiles
|
|
||||||
file: ./Dockerfile-argo
|
|
||||||
platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
|
||||||
tags: |
|
|
||||||
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:latest
|
|
||||||
ghcr.io/allanger/${{ env.GITHUB_REPOSITORY }}-argo:stable
|
|
||||||
labels: |
|
|
||||||
action_id=${{ github.action }}
|
|
||||||
action_link=${{ env.LINK }}
|
|
||||||
actor=${{ github.actor }}
|
|
||||||
sha=${{ github.sha }}
|
|
||||||
ref=${{ github.ref }}
|
|
||||||
|
Reference in New Issue
Block a user