Skip to content

use cicd-build-publish-artifacts-go workflow #1

use cicd-build-publish-artifacts-go workflow

use cicd-build-publish-artifacts-go workflow #1

Workflow file for this run

name: Publish
on:
push:
branches:
- develop
tags:
- "v*"
# Cancel any in-progress CI runs for a PR if it is updated
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-image:
runs-on: ubuntu-latest
environment: publish
permissions:
id-token: write
contents: write
actions: read
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build and push image
uses: smartcontractkit/.github/actions/cicd-build-publish-artifacts-go
with:
# general inputs
app-name: timelock-worker
publish: true
# aws inputs
aws-region: ${{ secrets.AWS_REGION }}
aws-role-arn: ${{ secrets.AWS_OIDC_IAM_ROLE_ARN }}
aws-account-number: ${{ secrets.AWS_ACCOUNT_NUMBER }}
# docker inputs
docker-registry: aws
docker-path: builds