BUILDX_VERSION=0.12.0
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
Some checks reported errors
continuous-integration/drone/tag Build encountered an error
This commit is contained in:
parent
d7c9e259f9
commit
c8a4166304
@ -6,7 +6,7 @@ name: docker-with-buildx
|
||||
steps:
|
||||
|
||||
- name: docker build an publish
|
||||
image: docker:20.10.22-dind-alpine3.17
|
||||
image: hub.docker.struchkov.dev/docker:24.0.7-dind-alpine3.18
|
||||
environment:
|
||||
DOCKER_REGISTRY_TOKEN:
|
||||
from_secret: DOCKER_REGISTRY_TOKEN
|
||||
@ -19,7 +19,7 @@ steps:
|
||||
path: /var/run
|
||||
commands:
|
||||
- sleep 15
|
||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
|
||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||
- docker build --no-cache -t "$DOCKER_IMAGE_NAME:latest" -t "$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
||||
- docker push "$DOCKER_IMAGE_NAME:latest"
|
||||
- docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG"
|
||||
@ -30,7 +30,7 @@ trigger:
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:20.10.22-dind-alpine3.17
|
||||
image: hub.docker.struchkov.dev/docker:24.0.7-dind-alpine3.18
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
@ -41,6 +41,6 @@ volumes:
|
||||
temp: {}
|
||||
---
|
||||
kind: signature
|
||||
hmac: 8717317b5c00e17259b1386f95862b486027882b40814ab20145c25c9e65984b
|
||||
hmac: cde141b2ae23cfd6aeb7b03d0dc27f1cc42c4da76142a5bb3248db17ebb6e90b
|
||||
|
||||
...
|
||||
|
77
.gitignore
vendored
Normal file
77
.gitignore
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
*.class
|
||||
*.log
|
||||
*.ctxt
|
||||
.mtj.tmp/
|
||||
*.jar
|
||||
*.war
|
||||
*.nar
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
target/
|
||||
pom.xml.tag
|
||||
pom.xml.releaseBackup
|
||||
pom.xml.versionsBackup
|
||||
pom.xml.next
|
||||
release.properties
|
||||
dependency-reduced-pom.xml
|
||||
buildNumber.properties
|
||||
.mvn/timing.properties
|
||||
.mvn/wrapper/maven-wrapper.jar
|
||||
.project
|
||||
.classpath
|
||||
.idea
|
||||
cmake-build-*/
|
||||
*.iws
|
||||
out/
|
||||
.idea_modules/
|
||||
atlassian-ide-plugin.xml
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
*~
|
||||
.fuse_hidden*
|
||||
.directory
|
||||
.Trash-*
|
||||
.nfs*
|
||||
.gradle
|
||||
**/build/
|
||||
!src/**/build/
|
||||
gradle-app.setting
|
||||
!gradle-wrapper.jar
|
||||
!gradle-wrapper.properties
|
||||
.gradletasknamecache
|
||||
Thumbs.db
|
||||
Thumbs.db:encryptable
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
*.stackdump
|
||||
[Dd]esktop.ini
|
||||
$RECYCLE.BIN/
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
*.lnk
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
Icon
|
||||
._*
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
@ -1,7 +1,7 @@
|
||||
ARG BUILDX_VERSION=0.10.3
|
||||
ARG DOCKER_VERSION=20.10.23-dind-alpine3.17
|
||||
ARG BUILDX_VERSION=0.12.0
|
||||
ARG DOCKER_VERSION=24.0.7-dind-alpine3.18
|
||||
|
||||
FROM alpine AS fetcher
|
||||
FROM hub.docker.struchkov.dev/alpine AS fetcher
|
||||
|
||||
RUN apk add curl
|
||||
|
||||
@ -13,6 +13,6 @@ RUN curl -L \
|
||||
RUN chmod a+x /docker-buildx
|
||||
|
||||
ARG DOCKER_VERSION
|
||||
FROM docker:${DOCKER_VERSION}
|
||||
FROM hub.docker.struchkov.dev/docker:${DOCKER_VERSION}
|
||||
|
||||
COPY --from=fetcher /docker-buildx /usr/lib/docker/cli-plugins/docker-buildx
|
||||
|
Loading…
Reference in New Issue
Block a user