workflows: set jobs needs
This commit is contained in:
parent
063431f15e
commit
7e385bd80c
2
.github/workflows/alpine-image.yaml
vendored
2
.github/workflows/alpine-image.yaml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
21
.github/workflows/flux-cli-image.yaml
vendored
21
.github/workflows/flux-cli-image.yaml
vendored
@ -9,12 +9,31 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
|
||||
docker:
|
||||
name: Build docker image
|
||||
runs-on: ubuntu-latest
|
||||
needs: base-image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push fluxcd/flux-cli image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
|
||||
@ -9,8 +9,26 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
needs: base-image
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
@ -9,7 +9,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
needs: base-image
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
@ -9,7 +9,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
needs: base-image
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
@ -9,7 +9,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
needs: base-image
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
@ -9,7 +9,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
needs: base-image
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
@ -9,7 +9,25 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push alpine image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
build_file: ./dockerfiles/alpine-with-ca.Dockerfile
|
||||
image: k8s/alpine-ca
|
||||
tag: 3.13
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
docker:
|
||||
needs: base-image
|
||||
runs-on: ubuntu-latest
|
||||
name: Build docker image
|
||||
steps:
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
FROM alpine:3.13
|
||||
RUN apk add --no-cache curl ca-certificates
|
||||
RUN cd /usr/share/ca-certificates/ && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201.cer -o RocheRootCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA1.cer -o RocheEnterpriseCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA2.cer -o RocheEnterpriseCA2.cer && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201%20-%20G2.crt -o RocheRootCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20Enterprise%20CA%201%20-%20G2.crt -o RocheEnterpriseCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Root%20CA.crt -o RocheG3RootCA.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%201.crt -o RocheG3IssuingCA1.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%202.crt -o RocheG3IssuingCA2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%203.crt -o RocheG3IssuingCA3.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%204.crt -o RocheG3IssuingCA4.crt && update-ca-certificates
|
||||
#RUN cd /usr/share/ca-certificates/ && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201.cer -o RocheRootCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA1.cer -o RocheEnterpriseCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA2.cer -o RocheEnterpriseCA2.cer && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201%20-%20G2.crt -o RocheRootCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20Enterprise%20CA%201%20-%20G2.crt -o RocheEnterpriseCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Root%20CA.crt -o RocheG3RootCA.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%201.crt -o RocheG3IssuingCA1.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%202.crt -o RocheG3IssuingCA2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%203.crt -o RocheG3IssuingCA3.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%204.crt -o RocheG3IssuingCA4.crt && update-ca-certificates
|
||||
RUN cd /usr/local/share/ca-certificates/ && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201.cer -o RocheRootCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA1.cer -o RocheEnterpriseCA1.cer && curl http://certinfo.roche.com/rootcerts/RocheEnterpriseCA2.cer -o RocheEnterpriseCA2.cer && curl http://certinfo.roche.com/rootcerts/Roche%20Root%20CA%201%20-%20G2.crt -o RocheRootCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20Enterprise%20CA%201%20-%20G2.crt -o RocheEnterpriseCA1-G2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Root%20CA.crt -o RocheG3RootCA.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%201.crt -o RocheG3IssuingCA1.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%202.crt -o RocheG3IssuingCA2.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%203.crt -o RocheG3IssuingCA3.crt && curl http://certinfo.roche.com/rootcerts/Roche%20G3%20Issuing%20CA%204.crt -o RocheG3IssuingCA4.crt && update-ca-certificates
|
||||
ENTRYPOINT [ "/bin/sh" ]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user