Add reusable build workflow #40
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
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
permissions: | ||
packages: write | ||
uses: ./.github/workflows/reusable.build.yml | ||
Check failure on line 10 in .github/workflows/build.yml GitHub Actions / .github/workflows/build.ymlInvalid workflow file
|
||
with: | ||
push: true | ||
# permissions: | ||
# packages: write | ||
# runs-on: 'ubuntu-latest' | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Set up Docker Buildx | ||
# uses: docker/setup-buildx-action@v3 | ||
# - name: Login to GitHub Container Registry | ||
# uses: docker/login-action@v3 | ||
# with: | ||
# registry: ghcr.io | ||
# username: ${{ github.actor }} | ||
# password: ${{ github.token }} | ||
# - name: Build and push Docker image | ||
# uses: docker/build-push-action@v5 | ||
# with: | ||
# push: true | ||
# tags: ghcr.io/${{ github.repository }}:latest |