Alow not a DinD mode of operation
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2023-07-28 18:24:39 +02:00
parent b4057e26e5
commit 836c1329fa
6 changed files with 199 additions and 36 deletions

View File

@@ -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}