Skip to content

Adapt to monorepo structure #22

Adapt to monorepo structure

Adapt to monorepo structure #22

Workflow file for this run

name: Build and Publish Docker Image
on:
push:
paths-ignore:
- '**/*.md'
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
build:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: winglang
password: ${{ secrets.GITHUB_TOKEN }}
- run: |
docker build -t wing-action .
docker tag wing-action ghcr.io/winglang/wing-github-action:main
docker push ghcr.io/winglang/wing-github-action:main