Skip to content

fix: resolve manifest list/OCI image index to platform image for ECR … #98

fix: resolve manifest list/OCI image index to platform image for ECR …

fix: resolve manifest list/OCI image index to platform image for ECR … #98

Workflow file for this run

name: CI
on:
push:
tags: [ v* ]
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: Prepare a snapshot release
if: "!startsWith(github.ref, 'refs/tags/v')"
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release a new version
if: startsWith(github.ref, 'refs/tags/v')
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Artifacts to releases.fivexl.io
if: startsWith(github.ref, 'refs/tags/v')
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: aws s3 sync ./dist/ s3://${{ secrets.RELEASE_BUCKET }}/aws-ecr-client-golang/${{ github.ref_name }}/ --exclude "*" --include "*.zip" --include "checksums.txt"