Compare commits
5 Commits
9631ecf68b
...
84fd76293e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84fd76293e | ||
|
|
32f45d228f | ||
|
|
e9eaea1869 | ||
|
|
a6ac70ad31 | ||
|
|
7fa71a4934 |
38
.drone.yml
Normal file
38
.drone.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
# - name: build
|
||||
# image: golang:latest
|
||||
# commands:
|
||||
# - "pwd"
|
||||
# - "cd helloworld"
|
||||
|
||||
- name: latest
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
# registry:
|
||||
repo: mirrors2/helloworld
|
||||
purge: true
|
||||
compress: true
|
||||
platforms: linux/amd64,linux/arm64
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
# context:
|
||||
dockerfile: Dockerfile
|
||||
tags: latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- alpine/*
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
Reference in New Issue
Block a user