return it in get too #45
This file contains hidden or 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: Panel | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - ".github/**" | |
| - "panel/**" | |
| - "pnpm-lock.yml" | |
| pull_request: | |
| paths: | |
| - ".github/**" | |
| - "panel/**" | |
| - "pnpm-lock.yml" | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/prod' | |
| permissions: | |
| contents: read | |
| packages: write | |
| attestations: write | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Docker meta | |
| id: meta | |
| uses: docker/metadata-action@v5 | |
| - name: Build and push docker image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: "." | |
| file: "panel/Dockerfile" | |
| push: true | |
| tags: ghcr.io/modfest/panel:latest | |
| labels: ${{ steps.meta.outputs.labels }} |