Skip to content

Merge pull request #12 from truenas/sync-with-apps-9may #11

Merge pull request #12 from truenas/sync-with-apps-9may

Merge pull request #12 from truenas/sync-with-apps-9may #11

Workflow file for this run

name: build_image
on:
push:
branches:
- 'master'
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GHCR
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/truenas/apps_validation:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}