fix: update public search key #18
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: Build Docker Image | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v3.7.0 | |
with: | |
node-version: 18.x | |
- name: Build Static Files | |
working-directory: ui | |
run: | | |
npm ci | |
npm run generate | |
- name: Docker Setup QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Docker Login | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Docker Build & Push | |
uses: docker/build-push-action@v4 | |
with: | |
context: ui | |
file: ui/Dockerfile | |
platforms: linux/amd64,linux/arm64 | |
provenance: false | |
sbom: false | |
push: true | |
tags: ghcr.io/ietf-tools/search-ui:latest |