Skip to content

Merge pull request #8 from klaernie/dependabot/docker/netbox-communit… #43

Merge pull request #8 from klaernie/dependabot/docker/netbox-communit…

Merge pull request #8 from klaernie/dependabot/docker/netbox-communit… #43

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
branches:
- main
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
name: Builds new NetBox Docker Images
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 GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/netbox:latest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}