commit
58a1579832
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@ -19,6 +19,8 @@ jobs:
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-latest
|
||||
name: Builds new NetBox Docker Images
|
||||
env:
|
||||
GH_ACTION: enable
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
@ -28,24 +30,10 @@ jobs:
|
||||
run: |
|
||||
echo "::set-output name=version::$(cat VERSION)"
|
||||
shell: bash
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
-
|
||||
id: buildx-setup
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
install: true
|
||||
-
|
||||
name: Available platforms
|
||||
run: echo ${{ steps.buildx-setup.outputs.platforms }}
|
||||
-
|
||||
id: docker-build
|
||||
name: Build the image with '${{ matrix.build_cmd }}'
|
||||
run: ${{ matrix.build_cmd }}
|
||||
env:
|
||||
GH_ACTION: enable
|
||||
-
|
||||
name: Test the image
|
||||
run: IMAGE="${FINAL_DOCKER_TAG}" ./test.sh
|
||||
@ -79,7 +67,6 @@ jobs:
|
||||
run: ${{ matrix.build_cmd }} --push
|
||||
env:
|
||||
DOCKER_REGISTRY: quay.io
|
||||
GH_ACTION: enable
|
||||
if: steps.docker-build.outputs.skipped != 'true'
|
||||
|
||||
# ghcr.io
|
||||
@ -97,5 +84,4 @@ jobs:
|
||||
env:
|
||||
DOCKER_REGISTRY: ghcr.io
|
||||
DOCKER_ORG: netbox-community
|
||||
GH_ACTION: enable
|
||||
if: steps.docker-build.outputs.skipped != 'true'
|
||||
|
@ -1,7 +1,7 @@
|
||||
version: '3.4'
|
||||
services:
|
||||
netbox: &netbox
|
||||
image: netboxcommunity/netbox:${VERSION-v3.1-1.5.0}
|
||||
image: netboxcommunity/netbox:${VERSION-v3.1-1.5.1}
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
Loading…
Reference in New Issue
Block a user