Skip to content

add action for build #2

add action for build

add action for build #2

Workflow file for this run

name: Test and Build wasm-oidc-plugin
on:
push:
branches:
- main
- add-action
jobs:
ghcr-image:
name: Build and push GHCR image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GHCR
run: |
docker build -t ghcr.io/pacoxu/slides-crawl:latest
docker push ghcr.io/pacoxu/slides-crawl:latest