Matthew Fisher
55640a7aad
Some checks failed
ci / docker (push) Failing after 41s
release / Builds new NetBox Docker Images (./build-latest.sh, linux/amd64,linux/arm64) (push) Failing after 14s
release / Builds new NetBox Docker Images (./build.sh develop, linux/amd64,linux/arm64) (push) Failing after 15s
release / Builds new NetBox Docker Images (./build.sh feature, linux/amd64,linux/arm64) (push) Failing after 14s
release / Builds new NetBox Docker Images (PRERELEASE=true ./build-latest.sh, linux/amd64,linux/arm64) (push) Failing after 16s
31 lines
881 B
YAML
31 lines
881 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'release'
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-22.04
|
|
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 Docker Hub
|
|
uses: SeptBlast/docker-login@v1.1.2
|
|
with:
|
|
login-server: harbor.fisherhome.xyz
|
|
username: ${{ secrets.HARBOR_USERNAME }}
|
|
password: ${{ secrets.HARBOR_PASSWORD }}
|
|
|
|
- uses: actions/checkout@v3
|
|
- name: Build and push
|
|
run: |
|
|
docker login --username ${{ secrets.HARBOR_USERNAME }} --password ${{ secrets.HARBOR_PASSWORD }} harbor.fisherhome.xyz
|
|
docker build --no-cache ./ -t harbor.fisherhome.xyz/library/netbox:latest
|
|
docker push harbor.fisherhome.xyz/library/netbox:latest |