forked from Ivasoft/github-actions
Alow not a DinD mode of operation
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
26
.drone.yml
26
.drone.yml
@@ -1,13 +1,6 @@
|
||||
kind: pipeline
|
||||
type: vm
|
||||
name: default
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
pool:
|
||||
use: ubuntu
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.19
|
||||
@@ -15,17 +8,16 @@ steps:
|
||||
- go test ./...
|
||||
- sh scripts/build.sh
|
||||
|
||||
- name: publish
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
repo: plugins/github-actions
|
||||
auto_tag: true
|
||||
dockerfile: docker/Dockerfile.linux.amd64
|
||||
registry: https://git.ivasoft.cz
|
||||
username:
|
||||
from_secret: docker_username
|
||||
from_secret: repo_user
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
from_secret: repo_pass
|
||||
repo: git.ivasoft.cz/sw/github-actions
|
||||
dockerfile: docker/Dockerfile.linux.amd64
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG:-latest}
|
||||
Reference in New Issue
Block a user