Skip to content

Merge pull request #30 from truenas/stavros-k-patch-1 #26

Merge pull request #30 from truenas/stavros-k-patch-1

Merge pull request #30 from truenas/stavros-k-patch-1 #26

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 }}