ci,dockerile,makefile: use FQ image paths
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
584e8c97a5
commit
30419ebfc3
12
.drone.yml
12
.drone.yml
@ -10,7 +10,7 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: hadolint
|
- name: hadolint
|
||||||
pull: always
|
pull: always
|
||||||
image: hadolint/hadolint:v2.12.0-alpine
|
image: docker.io/hadolint/hadolint:v2.12.0-alpine
|
||||||
commands:
|
commands:
|
||||||
- hadolint --version
|
- hadolint --version
|
||||||
- hadolint Dockerfile
|
- hadolint Dockerfile
|
||||||
@ -25,7 +25,7 @@ steps:
|
|||||||
|
|
||||||
- name: kaniko-build
|
- name: kaniko-build
|
||||||
pull: always
|
pull: always
|
||||||
image: immawanderer/drone-kaniko:linux-amd64
|
image: docker.io/immawanderer/drone-kaniko:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
context: .
|
context: .
|
||||||
@ -42,7 +42,7 @@ steps:
|
|||||||
|
|
||||||
- name: kaniko-publish
|
- name: kaniko-publish
|
||||||
pull: always
|
pull: always
|
||||||
image: immawanderer/drone-kaniko:linux-amd64
|
image: docker.io/immawanderer/drone-kaniko:linux-amd64
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
context: .
|
context: .
|
||||||
@ -94,7 +94,7 @@ depends_on:
|
|||||||
steps:
|
steps:
|
||||||
- name: discord
|
- name: discord
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
image: appleboy/drone-discord:latest
|
image: docker.io/appleboy/drone-discord:latest
|
||||||
settings:
|
settings:
|
||||||
message: "{{#success build.status}} ✅ [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{else}} ❌ [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{/success}}\n"
|
message: "{{#success build.status}} ✅ [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{else}} ❌ [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{/success}}\n"
|
||||||
webhook_id:
|
webhook_id:
|
||||||
@ -130,7 +130,7 @@ depends_on:
|
|||||||
steps:
|
steps:
|
||||||
- name: discord
|
- name: discord
|
||||||
pull: always
|
pull: always
|
||||||
image: appleboy/drone-discord:latest
|
image: docker.io/appleboy/drone-discord:latest
|
||||||
settings:
|
settings:
|
||||||
message: "{{#success build.status}} ✅ [Scheduled build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n {{else}} ❌ [Scheduled build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n {{/success}}\n"
|
message: "{{#success build.status}} ✅ [Scheduled build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n {{else}} ❌ [Scheduled build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n {{/success}}\n"
|
||||||
webhook_id:
|
webhook_id:
|
||||||
@ -140,6 +140,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 79f7aa371de5a00417aad26e6b613a94113f0f5d23a57c3a68efa46fce8bf747
|
hmac: bc36fd53d1d57053f660e05df07722e8cb2e82edc732ec8898d7308ad891b905
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# https://docs.docker.com/develop/develop-images/build_enhancements/#overriding-default-frontends
|
# https://docs.docker.com/develop/develop-images/build_enhancements/#overriding-default-frontends
|
||||||
# https://pythonspeed.com/articles/docker-buildkit/
|
# https://pythonspeed.com/articles/docker-buildkit/
|
||||||
|
|
||||||
FROM archlinux:base-devel
|
FROM docker.io/library/archlinux:base-devel
|
||||||
|
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
ARG VCS_REF
|
ARG VCS_REF
|
||||||
|
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ kanikocontext = .
|
|||||||
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --build-arg BUILD_DATE=$(build_date) --build-arg VCS_REF=$(vcs_ref) --no-push
|
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --build-arg BUILD_DATE=$(build_date) --build-arg VCS_REF=$(vcs_ref) --no-push
|
||||||
vcs_ref = $$(git rev-parse --short HEAD)
|
vcs_ref = $$(git rev-parse --short HEAD)
|
||||||
build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||||
hadolintimg = hadolint/hadolint
|
hadolintimg = docker.io/hadolint/hadolint
|
||||||
hadolinttag = v2.12.0-alpine
|
hadolinttag = v2.12.0-alpine
|
||||||
hadolintargs = run --rm -i -v $$PWD:/src:z --workdir=/src
|
hadolintargs = run --rm -i -v $$PWD:/src:z --workdir=/src
|
||||||
.PHONY: hadolint build kaniko clean test prune
|
.PHONY: hadolint build kaniko clean test prune
|
||||||
|
Loading…
Reference in New Issue
Block a user