1
0

move docker-setup to root

This commit is contained in:
James Brumond 2022-09-28 20:23:31 -07:00
parent 6a8848ff23
commit 3fca037206
Signed by: james
GPG Key ID: 24BA25B8B303B023
2 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
FROM alpine:3.14
FROM alpine:3.16
ENV DOCKER_HOST=unix:///var/run/docker.sock
RUN apk --no-cache add --update docker openrc bash
RUN rc-update add docker boot
COPY docker-setup /bin/
RUN chmod +x /bin/docker-setup
COPY docker-setup /
RUN chmod +x /docker-setup
CMD [ "/bin/docker-setup" ]
CMD [ "/docker-setup" ]
ENTRYPOINT [ "/bin/bash", "-l", "-c" ]

View File

@ -22,7 +22,7 @@ steps:
DOCKER_PASS:
from_secret: gitea-internal-password
commands:
- /bin/docker-setup
- /docker-setup
- docker tag ...
- docker push ...
volumes: