File tree 3 files changed +23
-18
lines changed
3 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 24
24
uses : docker/metadata-action@v4
25
25
with :
26
26
images : |
27
- plone/plone-backend
27
+ ghcr.io/ plone/plone-backend
28
28
tags : |
29
- type=raw,value=test
29
+ type=sha
30
30
31
31
- name : Set up QEMU
32
32
uses : docker/setup-qemu-action@v2
37
37
- name : Login to DockerHub
38
38
uses : docker/login-action@v2
39
39
with :
40
- username : ${{ secrets.DOCKERHUB_USERNAME }}
41
- password : ${{ secrets.DOCKERHUB_TOKEN }}
40
+ registry : ghcr.io
41
+ username : ${{ github.repository_owner }}
42
+ password : ${{ secrets.GITHUB_TOKEN }}
42
43
43
44
- name : Build image for testing
44
45
uses : docker/build-push-action@v3
50
51
51
52
- name : Test
52
53
run : |
53
- ./test/run.sh plone/plone-backend:test
54
+ ./test/run.sh ${{ steps.meta.outputs.tags }}
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ WORKDIR /app
37
37
COPY --from=builder --chown=500:500 /app /app
38
38
39
39
RUN <<EOT
40
+ ls -la /app/bin
40
41
useradd --system -m -d /app -U -u 500 plone
41
42
runDeps="git libjpeg62 libopenjp2-7 libpq5 libtiff5 libxml2 libxslt1.1 lynx netcat poppler-utils rsync wv busybox gosu libmagic1 make"
42
43
apt-get update
Original file line number Diff line number Diff line change @@ -5,21 +5,24 @@ globalTests+=(
5
5
override-cmd
6
6
)
7
7
8
+ imageTests_main_set='
9
+ plone-basics
10
+ plone-develop
11
+ plone-site
12
+ plone-addons
13
+ plone-cors
14
+ plone-arbitrary-user
15
+ plone-listenport
16
+ plone-zeoclient
17
+ plone-relstorage
18
+ plone-shared-blob-dir
19
+ '
20
+
8
21
imageTests+=(
9
- [plone/plone-backend]='
10
- plone-basics
11
- plone-develop
12
- plone-site
13
- plone-addons
14
- plone-cors
15
- plone-arbitrary-user
16
- plone-listenport
17
- plone-zeoclient
18
- plone-relstorage
19
- plone-shared-blob-dir
20
- '
22
+ [plone/plone-backend]=$imageTests_main_set
23
+ [ghcr.io/plone/plone-backend]=$imageTests_main_set
21
24
)
22
25
23
26
globalExcludeTests+=(
24
-
27
+
25
28
)
You can’t perform that action at this time.
0 commit comments