diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 26089cc..0000000 --- a/.drone.yml +++ /dev/null @@ -1,90 +0,0 @@ ---- -kind: pipeline -name: default - -steps: - - name: build and publish image amd64 - image: plugins/docker - settings: - repo: eumau/postfix - auto_tag: true - username: - from_secret: dockerhub_username - password: - from_secret: dockerhub_password - platform: linux/amd64 - when: - branch: - - master - - - name: build and publish image arm64 - image: plugins/docker - settings: - repo: eumau/postfix - auto_tag: true - username: - from_secret: dockerhub_username - password: - from_secret: dockerhub_password - platform: linux/arm64 - when: - branch: - - master - ---- -kind: pipeline -name: pull_request - -steps: - - name: build image only amd64 - image: plugins/docker - settings: - repo: eumau/postfix - auto_tag: true - dry_run: true - platform: linux/amd64 - - - name: build image only arm64 - image: plugins/docker - settings: - repo: eumau/postfix - auto_tag: true - dry_run: true - platform: linux/arm64 - -trigger: - event: - - pull_request - ---- -kind: pipeline -name: tags - -steps: - - name: docker amd64 - image: plugins/docker - settings: - repo: eumau/postfix - username: - from_secret: dockerhub_username - password: - from_secret: dockerhub_password - tags: - - ${DRONE_TAG} - platform: linux/amd64 - - - name: docker arm64 - image: plugins/docker - settings: - repo: eumau/postfix - username: - from_secret: dockerhub_username - password: - from_secret: dockerhub_password - tags: - - ${DRONE_TAG} - platform: linux/arm64 - -trigger: - event: - - tag