File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 40
40
username : ${{ env.BOT_USERNAME }}
41
41
password : ' ${{ secrets.BOT_TOKEN }}'
42
42
- name : CI tests, image build and push tag for main or branch
43
- uses : docker/build-push-action@v5
43
+ uses : docker/build-push-action@v6
44
44
with :
45
45
push : true
46
+ context : .
46
47
tags : |
47
48
${{ env.CACHE_REGISTRY }}/${{ env.CACHE_REPO }}:${{ env.TAG }}
48
49
Original file line number Diff line number Diff line change 80
80
password : ${{ secrets.DOCKERHUB_LINODEBOT_TOKEN }}
81
81
- name : image build and push tag for branch
82
82
if : ${{ env.NEW_VERSION != null }}
83
- uses : docker/build-push-action@v5
83
+ uses : docker/build-push-action@v6
84
84
with :
85
85
push : true
86
+ context : ' ./tools'
86
87
platforms : linux/amd64
87
88
file : tools/Dockerfile
88
89
tags : |
Original file line number Diff line number Diff line change 1
- FROM linode/apl-tools:v2.8.2 as ci
1
+ FROM linode/apl-tools:v2.8.2 AS ci
2
2
3
3
ENV APP_HOME=/home/app/stack
4
4
@@ -21,12 +21,12 @@ RUN npm ci --ignore-scripts && npm run compile
21
21
RUN if [ "$SKIP_TESTS" = 'false' ]; then ln -s $APP_HOME/tests/fixtures env && npm test && rm env; fi
22
22
23
23
# --------------- Cleanup
24
- FROM ci as clean
24
+ FROM ci AS clean
25
25
26
26
# below command removes the packages specified in devDependencies and set NODE_ENV to production
27
27
RUN npm prune --production
28
28
29
- FROM linode/apl-tools:v2.8.2 as prod
29
+ FROM linode/apl-tools:v2.8.2 AS prod
30
30
ENV APP_HOME=/home/app/stack
31
31
ENV ENV_DIR=/home/app/stack/env
32
32
ENV VERBOSITY='0'
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.6
2
- FROM ubuntu:20.04 as builder
2
+ FROM ubuntu:20.04 AS builder
3
3
4
4
ARG DEBIAN_FRONTEND=noninteractive
5
5
ARG TARGETARCH
@@ -127,7 +127,7 @@ RUN set -uex && \
127
127
apt-get install -y nodejs && \
128
128
129
129
130
- FROM ubuntu:20.04 as final
130
+ FROM ubuntu:20.04 AS final
131
131
132
132
RUN mkdir -p /home/app
133
133
RUN groupadd -r app &&\
You can’t perform that action at this time.
0 commit comments