Skip to content

Release 7.0.0.

Release 7.0.0. #33

Workflow file for this run

name: Packaging
on:
push:
tags:
- v*
jobs:
package:
runs-on: ubuntu-latest
env:
CONTAINER_OWNER: veres-containers
CONTAINER_IMAGE_NAME: authn-io
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Get npm package version
id: version
uses: martinbeentjes/[email protected]
- name: Generate next release candidate number
id: rc
uses: zyborg/[email protected]
with:
gist_token: ${{ secrets.DB_BUILDER_CI_TOKEN }}
version_key: ${{ steps.version.outputs.current-version }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Google Container Registry
uses: docker/login-action@v2
with:
registry: us.gcr.io
username: _json_key
password: ${{ secrets.GOOGLE_REPOSITORY_WRITE_TOKEN }}
- name: Publish Docker image
id: build_push_action
uses: docker/build-push-action@v3
with:
push: true
provenance: false
tags: us.gcr.io/${{ env.CONTAINER_OWNER }}/${{ env.CONTAINER_IMAGE_NAME }}:${{ steps.version.outputs.current-version }}-rc${{ steps.rc.outputs.version_build_number }}
- name: Display Docker image
run: echo "${{ steps.build_push_action.outputs.metadata }}"