init commit for coverting to podman

This commit is contained in:
zerodoctor
2023-10-04 23:19:30 -05:00
parent 7e9969423c
commit 04332e5527
96 changed files with 2034 additions and 534 deletions

View File

@@ -18,5 +18,5 @@ COPY --from=alpine /bin/tmate /bin/
LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT"
ADD release/linux/amd64/drone-runner-docker /bin/
ENTRYPOINT ["/bin/drone-runner-docker"]
ADD release/linux/amd64/drone-runner-podman /bin/
ENTRYPOINT ["/bin/drone-runner-podman"]

View File

@@ -18,5 +18,5 @@ COPY --from=alpine /bin/tmate /bin/
LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT"
ADD release/linux/arm64/drone-runner-docker /bin/
ENTRYPOINT ["/bin/drone-runner-docker"]
ADD release/linux/arm64/drone-runner-podman /bin/
ENTRYPOINT ["/bin/drone-runner-podman"]

View File

@@ -18,5 +18,5 @@ COPY --from=alpine /bin/tmate /bin/
LABEL com.centurylinklabs.watchtower.stop-signal="SIGINT"
ADD release/linux/ppc64le/drone-runner-docker /bin/
ENTRYPOINT ["/bin/drone-runner-docker"]
ADD release/linux/ppc64le/drone-runner-podman /bin/
ENTRYPOINT ["/bin/drone-runner-podman"]

View File

@@ -8,5 +8,5 @@ ENV DRONE_PLATFORM_OS windows
ENV DRONE_PLATFORM_ARCH amd64
ENV DRONE_PLATFORM_KERNEL 1809
ADD release/windows/amd64/drone-runner-docker.exe C:/drone-runner-docker.exe
ENTRYPOINT [ "C:\\drone-runner-docker.exe" ]
ADD release/windows/amd64/drone-runner-podman .exe C:/drone-runner-podman.exe
ENTRYPOINT [ "C:\\drone-runner-podman.exe" ]

View File

@@ -8,5 +8,5 @@ ENV DRONE_PLATFORM_OS windows
ENV DRONE_PLATFORM_ARCH amd64
ENV DRONE_PLATFORM_KERNEL ltsc2022
ADD release/windows/amd64/drone-runner-docker.exe C:/drone-runner-docker.exe
ENTRYPOINT [ "C:\\drone-runner-docker.exe" ]
ADD release/windows/amd64/drone-runner-podman.exe C:/drone-runner-podman.exe
ENTRYPOINT [ "C:\\drone-runner-podman.exe" ]

View File

@@ -1,4 +1,4 @@
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
@@ -7,30 +7,30 @@ tags:
{{/if}}
manifests:
-
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
platform:
architecture: amd64
os: linux
-
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-arm64
platform:
variant: v8
architecture: arm64
os: linux
-
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-ppc64le
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-ppc64le
platform:
architecture: ppc64le
os: linux
-
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809-amd64
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-1809-amd64
platform:
architecture: amd64
os: windows
version: 1809
-
image: drone/drone-runner-docker:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-ltsc2022-amd64
image: drone/drone-runner-podman:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}windows-ltsc2022-amd64
platform:
architecture: amd64
os: windows
version: ltsc2022
version: ltsc2022