Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit a5c30a0

Browse files
committed
Pushed
1 parent 2d3c001 commit a5c30a0

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ RUN apt-get update && apt-get install -y \
1818
software-properties-common \
1919
git \
2020
build-essential
21+
22+
LABEL org.opencontainers.image.url=https://github.com/harderthanitneedstobe/kaniko-ci
23+
LABEL org.opencontainers.image.source=https://github.com/harderthanitneedstobe/kaniko-ci

Makefile

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11

2-
build-debug:
2+
push:
33
docker buildx rm "build-$$(git rev-parse --short HEAD)" || true
44
docker buildx create --platform linux/amd64 --use --name "build-$$(git rev-parse --short HEAD)"
55
printf "$$(cat kaniko/deploy/Dockerfile_debug)\n\n$$(cat Dockerfile)" | docker buildx build --platform linux/amd64 \
66
-f - \
7-
-t containers.harderthanitneedstobe.com/kaniko:$$(git rev-parse --short HEAD) ./kaniko \
8-
--push
7+
-t containers.harderthanitneedstobe.com/kaniko-ci:latest \
8+
-t containers.harderthanitneedstobe.com/kaniko-ci:$$(git rev-parse --short HEAD) \
9+
-t ghcr.io/harderthanitneedstobe/kaniko-ci:latest \
10+
-t ghcr.io/harderthanitneedstobe/kaniko-ci:$$(git rev-parse --short HEAD) \
11+
--push ./kaniko

0 commit comments

Comments
 (0)