NAS-131013 / 25.04 / Migrate more components to signal inputs #10881
Workflow file for this run
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
name: 'Internal PR Docker Build' | |
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@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
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 }} |