th: cache busting? not on our watch
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
fdd48f3b43
commit
acf635ffe8
|
@ -1,11 +1,13 @@
|
||||||
variables:
|
variables:
|
||||||
|
environment: &docker-environment
|
||||||
|
NAME: gitea.treehouse.systems/treehouse/mastodon
|
||||||
|
DATE_COMMAND: export COMMIT_DATE=$(date -u -Idate -d @$(git show -s --format=%ct))
|
||||||
docker-step: &docker-step
|
docker-step: &docker-step
|
||||||
image: docker:rc-git
|
image: docker:rc-git
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
NAME: gitea.treehouse.systems/treehouse/mastodon
|
<<: *docker-environment
|
||||||
DATE_COMMAND: export COMMIT_DATE=$(date -u -Idate -d @$(git show -s --format=%ct))
|
|
||||||
|
|
||||||
clone:
|
clone:
|
||||||
git:
|
git:
|
||||||
|
@ -53,10 +55,12 @@ pipeline:
|
||||||
<<: *docker-step
|
<<: *docker-step
|
||||||
commands:
|
commands:
|
||||||
- echo $REGISTRY_SECRET | docker login -u $REGISTRY_USER --password-stdin gitea.treehouse.systems
|
- echo $REGISTRY_SECRET | docker login -u $REGISTRY_USER --password-stdin gitea.treehouse.systems
|
||||||
|
- cat tags.txt | xargs -n 1 -I% echo docker image push $NAME:%
|
||||||
- cat tags.txt | xargs -n 1 -I% docker image push $NAME:%
|
- cat tags.txt | xargs -n 1 -I% docker image push $NAME:%
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
branch: main
|
branch: main
|
||||||
secrets: [REGISTRY_SECRET]
|
secrets: [REGISTRY_SECRET]
|
||||||
environment:
|
environment:
|
||||||
|
<<: *docker-environment
|
||||||
REGISTRY_USER: ariadne
|
REGISTRY_USER: ariadne
|
||||||
|
|
|
@ -64,7 +64,6 @@ RUN mv ./emoji_data/all.json ./node_modules/emoji-mart/data/all.json && \
|
||||||
|
|
||||||
FROM node:${NODE_VERSION}
|
FROM node:${NODE_VERSION}
|
||||||
|
|
||||||
ARG SOURCE_TAG=''
|
|
||||||
ARG UID="991"
|
ARG UID="991"
|
||||||
ARG GID="991"
|
ARG GID="991"
|
||||||
|
|
||||||
|
@ -104,6 +103,7 @@ RUN apt-get update && \
|
||||||
|
|
||||||
COPY --link --chown=mastodon:mastodon --from=build /opt/mastodon /opt/mastodon
|
COPY --link --chown=mastodon:mastodon --from=build /opt/mastodon /opt/mastodon
|
||||||
|
|
||||||
|
ARG SOURCE_TAG=''
|
||||||
ENV RAILS_ENV="production" \
|
ENV RAILS_ENV="production" \
|
||||||
NODE_ENV="production" \
|
NODE_ENV="production" \
|
||||||
RAILS_SERVE_STATIC_FILES="true" \
|
RAILS_SERVE_STATIC_FILES="true" \
|
||||||
|
|
Loading…
Reference in New Issue