NAS-141483 / 27.0.0-BETA.1 / Migrate Datasets slide-ins and modal-header to tn-* #17796
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: 'Internal PR Docker Build' | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| types: | |
| - 'synchronize' | |
| - 'opened' | |
| paths-ignore: | |
| - 'tests/**' | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| jobs: | |
| docker: | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build and push | |
| id: docker_build | |
| uses: docker/build-push-action@v5 | |
| with: | |
| push: true | |
| tags: ixsystems/truenas-webui:${{ env.PR_NUMBER }} | |
| - name: Image digest | |
| run: echo ${{ steps.docker_build.outputs.digest }} |