update this admin to use provided.al2023 runtime instead of the depre… #60
Workflow file for this run
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
name: Nullstone | |
on: | |
push: | |
tags: | |
- 'v*' | |
env: | |
NULLSTONE_ORG: nullstone | |
NULLSTONE_API_KEY: ${{ secrets.NULLSTONE_API_KEY }} | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Nullstone | |
uses: nullstone-io/setup-nullstone-action@v0 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
- name: Build binaries into packages | |
run: | | |
export PATH=$(go env GOPATH)/bin:$PATH | |
make build | |
make package | |
- name: Find version | |
id: version | |
run: echo "MODULE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV | |
- id: publish-aws | |
name: Publish AWS | |
working-directory: aws/tf | |
run: | | |
nullstone modules publish \ | |
--include=files/pg-db-admin.zip \ | |
--version=${{ env.MODULE_VERSION }} | |
- id: publish-gcp | |
name: Publish GCP | |
working-directory: gcp/tf | |
run: | | |
nullstone modules publish \ | |
--include=files/pg-db-admin.zip \ | |
--version=${{ env.MODULE_VERSION }} |