mirror of
https://github.com/thegeeklab/wp-ansible.git
synced 2024-11-22 10:00:38 +00:00
chore: use full qualified container images (#144)
This commit is contained in:
parent
dbce287994
commit
8374977dc0
30
.drone.star
30
.drone.star
@ -31,7 +31,7 @@ def test(ctx):
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"name": "deps",
|
"name": "deps",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make deps",
|
"make deps",
|
||||||
],
|
],
|
||||||
@ -44,7 +44,7 @@ def test(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "generate",
|
"name": "generate",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make generate",
|
"make generate",
|
||||||
],
|
],
|
||||||
@ -57,7 +57,7 @@ def test(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "lint",
|
"name": "lint",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make lint",
|
"make lint",
|
||||||
],
|
],
|
||||||
@ -70,7 +70,7 @@ def test(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make test",
|
"make test",
|
||||||
],
|
],
|
||||||
@ -109,7 +109,7 @@ def build(ctx):
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"name": "generate",
|
"name": "generate",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make generate",
|
"make generate",
|
||||||
@ -123,7 +123,7 @@ def build(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "build",
|
"name": "build",
|
||||||
"image": "techknowlogick/xgo:go-1.20.x",
|
"image": "docker.io/techknowlogick/xgo:go-1.20.x",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"commands": [
|
"commands": [
|
||||||
"ln -s /drone/src /source",
|
"ln -s /drone/src /source",
|
||||||
@ -138,7 +138,7 @@ def build(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "executable",
|
"name": "executable",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"commands": [
|
"commands": [
|
||||||
"$(find dist/ -executable -type f -iname drone-ansible-linux-amd64) --help",
|
"$(find dist/ -executable -type f -iname drone-ansible-linux-amd64) --help",
|
||||||
@ -146,7 +146,7 @@ def build(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "changelog",
|
"name": "changelog",
|
||||||
"image": "thegeeklab/git-chglog",
|
"image": "quay.io/thegeeklab/git-chglog",
|
||||||
"commands": [
|
"commands": [
|
||||||
"git fetch -tq",
|
"git fetch -tq",
|
||||||
"git-chglog --no-color --no-emoji %s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "--next-tag unreleased unreleased"),
|
"git-chglog --no-color --no-emoji %s" % (ctx.build.ref.replace("refs/tags/", "") if ctx.build.event == "tag" else "--next-tag unreleased unreleased"),
|
||||||
@ -155,7 +155,7 @@ def build(ctx):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "publish",
|
"name": "publish",
|
||||||
"image": "plugins/github-release",
|
"image": "docker.io/plugins/github-release",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"settings": {
|
"settings": {
|
||||||
"api_key": {
|
"api_key": {
|
||||||
@ -205,7 +205,7 @@ def docker(ctx, arch):
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"name": "generate",
|
"name": "generate",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make generate",
|
"make generate",
|
||||||
@ -219,7 +219,7 @@ def docker(ctx, arch):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "build",
|
"name": "build",
|
||||||
"image": "golang:1.20",
|
"image": "docker.io/golang:1.20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"commands": [
|
"commands": [
|
||||||
"make build",
|
"make build",
|
||||||
@ -233,7 +233,7 @@ def docker(ctx, arch):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "dryrun",
|
"name": "dryrun",
|
||||||
"image": "plugins/docker:20",
|
"image": "docker.io/plugins/docker:20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"settings": {
|
"settings": {
|
||||||
"dry_run": True,
|
"dry_run": True,
|
||||||
@ -251,7 +251,7 @@ def docker(ctx, arch):
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "docker",
|
"name": "docker",
|
||||||
"image": "plugins/docker:20",
|
"image": "docker.io/plugins/docker:20",
|
||||||
"pull": "always",
|
"pull": "always",
|
||||||
"settings": {
|
"settings": {
|
||||||
"username": {
|
"username": {
|
||||||
@ -300,7 +300,7 @@ def manifest(ctx):
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"name": "manifest",
|
"name": "manifest",
|
||||||
"image": "plugins/manifest",
|
"image": "docker.io/plugins/manifest",
|
||||||
"settings": {
|
"settings": {
|
||||||
"auto_tag": "true",
|
"auto_tag": "true",
|
||||||
"username": {
|
"username": {
|
||||||
@ -331,7 +331,7 @@ def pushrm(ctx):
|
|||||||
"steps": [
|
"steps": [
|
||||||
{
|
{
|
||||||
"name": "pushrm",
|
"name": "pushrm",
|
||||||
"image": "chko/docker-pushrm:1",
|
"image": "docker.io/chko/docker-pushrm:1",
|
||||||
"environment": {
|
"environment": {
|
||||||
"DOCKER_PASS": {
|
"DOCKER_PASS": {
|
||||||
"from_secret": "docker_password",
|
"from_secret": "docker_password",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.17@sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517
|
FROM docker.io/alpine:3.17@sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517
|
||||||
|
|
||||||
LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
|
LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
|
||||||
LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
|
LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM arm64v8/alpine:3.17@sha256:c41ab5c992deb4fe7e5da09f67a8804a46bd0592bfdf0b1847dde0e0889d2bff
|
FROM docker.io/arm64v8/alpine:3.17@sha256:c41ab5c992deb4fe7e5da09f67a8804a46bd0592bfdf0b1847dde0e0889d2bff
|
||||||
|
|
||||||
LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
|
LABEL maintainer="ownCloud DevOps <devops@owncloud.com>"
|
||||||
LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
|
LABEL org.opencontainers.image.authors="ownCloud DevOps <devops@owncloud.com>"
|
||||||
|
Loading…
Reference in New Issue
Block a user