Skip to content

Convert boosted api received hook to signature validation #1

Convert boosted api received hook to signature validation

Convert boosted api received hook to signature validation #1

Workflow file for this run

on:
push:
branches:
- main
env:
RESOURCE_NAME: deployment/dstn-api
jobs:
build:
name: Build, and push
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ghcr.io/${{ github.repository }}:${{ github.sha }},ghcr.io/${{ github.repository }}:latest
- name: Set deployment image
uses: danielr1996/[email protected]
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
args: set image ${{ env.RESOURCE_NAME }} api=ghcr.io/${{ github.repository }}:${{ github.sha }}