Skip to content

Commit

Permalink
Set up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronDewes committed Nov 19, 2024
1 parent 71e7559 commit 42cf3fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
include:
- project: 'nirvati/ci'
file: '/docker-legacy.yml'
inputs:
username: $HARBOR_USERNAME
password: $HARBOR_PASSWORD
registry: $HARBOR_HOST
project: $HARBOR_PROJECT
container: $CI_PROJECT_NAME
buildx-args: --file package/Dockerfile --build-arg ARCH=$(dpkg --print-architecture)

docker-build-arm64-container:
before_script:
- apt update && apt install -y curl
- curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) -o /usr/local/bin/dapper
- chmod +x /usr/local/bin/dapper
- /usr/local/bin/dapper -m cp ci

docker-build-amd64-container:
before_script:
- apt update && apt install -y curl
- curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) -o /usr/local/bin/dapper
- chmod +x /usr/local/bin/dapper
- /usr/local/bin/dapper -m cp ci

0 comments on commit 42cf3fe

Please sign in to comment.