chore(deps): Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.179… #185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://docs.docker.com/build/ci/github-actions/multi-platform/ | |
name: Build and Push Image | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
permissions: | |
contents: read | |
id-token: write | |
env: | |
REGISTRY_IMAGE: grafana/cloudcost-exporter | |
# Docker image tags. See https://github.com/docker/metadata-action for format | |
TAGS_CONFIG: | | |
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} | |
type=sha,prefix={{ branch }}-,format=short,enable=${{ github.ref == 'refs/heads/main' }} | |
type=semver,pattern={{ version }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and push | |
uses: grafana/shared-workflows/actions/build-push-to-dockerhub@main | |
with: | |
repository: ${{ env.REGISTRY_IMAGE }} | |
context: . | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: ${{ env.TAGS_CONFIG }} |