-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.12 KB
/
release.yml
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
name: Docker build
on:
push:
tags:
- '*'
permissions:
contents: write
id-token: write
packages: write
jobs:
publish-pulumi-operator-kubernetes-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Publish pulumi-operator-kubernetes-job Docker Image
uses: VaultVulp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: pulumi-operator-kubernetes-job
dockerfile: pulumi-operator-kubernetes-job/Dockerfile
extract-git-tag: true
cache-from: type=gha
cache-to: type=gha,mode=max
publish-pulumi-operator-kubernetes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and Publish pulumi-operator-kubernetes Docker Image
uses: VaultVulp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: pulumi-operator-kubernetes
dockerfile: pulumi-operator-kubernetes/Dockerfile
extract-git-tag: true
cache-from: type=gha
cache-to: type=gha,mode=max