Skip to content

feat(azure): replace base image with alpine (#59) #24

feat(azure): replace base image with alpine (#59)

feat(azure): replace base image with alpine (#59) #24

name: Deploy future tag
on:
push:
branches:
- main
jobs:
deployment:
name: Build and publish future tag
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
steps:
- name: Checkout repository code
uses: actions/checkout@main
with:
fetch-depth: 0
- name: Build and push future image (w/ aws cli)
uses: ./.github/workflows/publish
with:
bake_target: aws
aws_role_to_assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_release: false
bake_set: |
aws.tags=${{ secrets.PUBLIC_RUNNER_TERRAFORM_ECR_REPOSITORY_URL }}:future
aws.tags=ghcr.io/spacelift-io/runner-terraform:future
- name: Build and push future image (w/ gcloud cli)
uses: ./.github/workflows/publish
with:
bake_target: gcp
aws_role_to_assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_release: false
bake_set: |
gcp.tags=${{ secrets.PUBLIC_RUNNER_TERRAFORM_ECR_REPOSITORY_URL }}:gcp-future
gcp.tags=ghcr.io/spacelift-io/runner-terraform:gcp-future
- name: Build and push future image (w/ az cli)
uses: ./.github/workflows/publish
with:
bake_target: azure
aws_role_to_assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_release: false
bake_set: |
azure.tags=${{ secrets.PUBLIC_RUNNER_TERRAFORM_ECR_REPOSITORY_URL }}:azure-future
azure.tags=ghcr.io/spacelift-io/runner-terraform:azure-future