Skip to content

fix: handle aws integration attach/detach on stack update (#47) #208

fix: handle aws integration attach/detach on stack update (#47)

fix: handle aws integration attach/detach on stack update (#47) #208

Workflow file for this run

name: 👷 Build
on:
push:
branches: [ "main" ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with: { go-version-file: 'go.mod'}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build controller binary
uses: goreleaser/goreleaser-action@v5
with:
args: build --snapshot
- name: Build container image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.ref == 'refs/heads/main' }}
tags: |
ghcr.io/spacelift-io/spacelift-operator:latest
ghcr.io/spacelift-io/spacelift-operator:${{ github.sha }}