add .github/workflows/pulumi-aws.yaml
This commit is contained in:
parent
875fc40467
commit
43475ae21d
31
.github/workflows/pulumi-aws.yaml
vendored
Normal file
31
.github/workflows/pulumi-aws.yaml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: Build & push ci runner pulumi for aws image
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths:
|
||||
- 'oci/iac-runner/pulumi-aws/main.tf'
|
||||
- 'oci/iac-runner/pulumi-aws/Dockerfile'
|
||||
- 'oci/iac-runner/pulumi-aws/.terraformrc'
|
||||
- '.github/workflows/pulumi-aws.yaml'
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
base-image:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build ci runner pulumi for aws image
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: 'Artifact: build && push pulumi for aws image'
|
||||
uses: aevea/action-kaniko@master
|
||||
with:
|
||||
registry: artifact.onwalk.net
|
||||
username: admin
|
||||
password: ${{ secrets.HELM_REPO_PASSWORD }}
|
||||
path: 'oci/iac-runner/pulumi-aws/'
|
||||
build_file: 'Dockerfile'
|
||||
image: devops/pulumi-aws
|
||||
tag: latest
|
||||
cache: true
|
||||
cache_registry: cache
|
||||
Loading…
Reference in New Issue
Block a user