diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..885b1f6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,112 @@ +name: amd64 +kind: pipeline +type: docker + +platform: + os: linux + arch: amd64 + +steps: + - name: testing-amd64 + image: plugins/docker + settings: + dry_run: true + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "dev" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - dev + - name: build-amd64 + image: plugins/docker + settings: + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "latest" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - main + +--- +name: arm64 +kind: pipeline +type: docker + +platform: + os: linux + arch: arm64 + +steps: + - name: testing-arm64 + image: plugins/docker + settings: + dry_run: true + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "dev" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - dev + - name: build-arm64 + image: plugins/docker + settings: + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "latest" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - main + +--- +name: arm +kind: pipeline +type: docker + +platform: + os: linux + arch: arm + +steps: + - name: testing-arm + image: plugins/docker + settings: + dry_run: true + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "dev" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - dev + - name: build-arm + image: plugins/docker + settings: + repo: nickslowinski/JTS3ServerMod-dockerized + tags: + - "latest" + username: + from_secret: ns_docker_username + password: + from_secret: ns_docker_password + when: + branch: + - main \ No newline at end of file