Merge pull request #24 from k0rventen/master

docker image CI
This commit is contained in:
minitriga 2021-07-28 10:55:43 -04:00 committed by GitHub
commit 3d0c95158b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

28
.github/workflows/docker.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: example-docker-ci
on:
workflow_dispatch:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: k0rventen/netbox-device-type-library-import:latest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}