Skip to content

Commit 2456a64

Browse files
committed
Fixed release action workflow
1 parent 9ab54f2 commit 2456a64

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
fail-fast: false
2020
runs-on: ubuntu-latest
2121
name: Builds new NetBox Docker Images
22+
env:
23+
GH_ACTION: enable
2224
steps:
2325
-
2426
name: Checkout
@@ -28,24 +30,10 @@ jobs:
2830
run: |
2931
echo "::set-output name=version::$(cat VERSION)"
3032
shell: bash
31-
-
32-
name: Set up QEMU
33-
uses: docker/setup-qemu-action@v1
34-
-
35-
id: buildx-setup
36-
name: Set up Docker Buildx
37-
uses: docker/setup-buildx-action@v1
38-
with:
39-
install: true
40-
-
41-
name: Available platforms
42-
run: echo ${{ steps.buildx-setup.outputs.platforms }}
4333
-
4434
id: docker-build
4535
name: Build the image with '${{ matrix.build_cmd }}'
4636
run: ${{ matrix.build_cmd }}
47-
env:
48-
GH_ACTION: enable
4937
-
5038
name: Test the image
5139
run: IMAGE="${FINAL_DOCKER_TAG}" ./test.sh
@@ -79,7 +67,6 @@ jobs:
7967
run: ${{ matrix.build_cmd }} --push
8068
env:
8169
DOCKER_REGISTRY: quay.io
82-
GH_ACTION: enable
8370
if: steps.docker-build.outputs.skipped != 'true'
8471

8572
# ghcr.io
@@ -97,5 +84,4 @@ jobs:
9784
env:
9885
DOCKER_REGISTRY: ghcr.io
9986
DOCKER_ORG: netbox-community
100-
GH_ACTION: enable
10187
if: steps.docker-build.outputs.skipped != 'true'

0 commit comments

Comments
 (0)