forked from kube-vip/kube-vip
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.07 KB
/
edge-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Edge Release
on:
workflow_dispatch:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-22.04
strategy:
matrix:
fips: [yes, no]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- run: echo "${{ secrets.ARTIFACT_IMG_PUSH_EDGE }}" | base64 -d | docker login -u _json_key --password-stdin us-docker.pkg.dev
- name: Build artifacts
env:
FIPS_ENABLE: ${{ matrix.fips }}
run: |
if [ ${{ matrix.fips }} = "yes" ]; then
export REPOSITORY=us-docker.pkg.dev/palette-images-fips/edge
else
export REPOSITORY=us-docker.pkg.dev/palette-images/edge
fi
make docker