File tree Expand file tree Collapse file tree 4 files changed +8
-13
lines changed
Expand file tree Collapse file tree 4 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 55RUN apk update && apk add --virtual .build-deps bash git make \
66 && make \
77 && mv bin/ct /usr/bin/ \
8- && mv Dockerfile.build-alpine /tmp \
98 && rm -rf $GOPATH \
109 && apk del .build-deps && rm -rf /var/cache/apk
11- WORKDIR /tmp
12- ENTRYPOINT ["/usr/bin/ct" ]
10+
11+ FROM scratch
12+ COPY --from=0 /usr/bin/ct /ct
13+ ENTRYPOINT ["/ct" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33set -e
44VERSION=$( git describe)
5- docker build -t $VERSION .
6- docker run --rm --entrypoint tar $VERSION -c /usr/bin/ct Dockerfile.build-alpine \
7- | docker build -f Dockerfile.build-alpine --tag quay.io/coreos/ct:$VERSION -
8- docker tag quay.io/coreos/ct:$VERSION quay.io/coreos/ct:latest-dev
5+ docker build --tag ghcr.io/flatcar-linux/ct:$VERSION .
6+ docker tag ghcr.io/flatcar-linux/ct:$VERSION ghcr.io/flatcar-linux/ct:latest-dev
Original file line number Diff line number Diff line change 22
33set -e
44VERSION=$( git describe)
5- docker login -u=" $DOCKER_USERNAME " -p=" $DOCKER_PASSWORD " quay.io
6- docker push quay.io/coreos/ct:$VERSION
7- docker push quay.io/coreos/ct:latest-dev
5+ docker push ghcr.io/flatcar-linux/ct:$VERSION
6+ docker push ghcr.io/flatcar-linux/ct:latest-dev
You can’t perform that action at this time.
0 commit comments