File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ jobs:
1414 steps :
1515 - name : Check out the repo
1616 uses : actions/checkout@v4
17+
1718 - name : Log in to Docker Hub
1819 uses : docker/login-action@v3
1920 with :
2021 username : ${{ secrets.DOCKER_USERNAME }}
2122 password : ${{ secrets.DOCKER_PASSWORD }}
23+
2224 - name : Extract metadata (tags, labels) for Docker
2325 id : meta
2426 uses : docker/metadata-action@v5
@@ -27,11 +29,18 @@ jobs:
2729 tags : |
2830 type=raw,value=latest
2931 type=semver,pattern={{version}}
32+
33+ - name : Set up QEMU
34+ uses : docker/setup-qemu-action@v3
35+
36+ - name : Set up Docker Buildx
37+ uses : docker/setup-buildx-action@v3
38+
3039 - name : Build and push Docker image
3140 uses : docker/build-push-action@v5
3241 with :
3342 context : .
3443 push : true
44+ platforms : linux/amd64,linux/arm64
3545 tags : ${{ steps.meta.outputs.tags }}
3646 labels : ${{ steps.meta.outputs.labels }}
37-
Original file line number Diff line number Diff line change 1- FROM alpine:3.21
1+ FROM alpine
22
33LABEL maintainer=
"Scalified <[email protected] >" 44
@@ -10,10 +10,8 @@ RUN echo "SUPERVISOR VERSION: $(supervisord -v)"
1010
1111RUN mkdir -p $SUPERVISOR_CONF_DIR
1212
13- COPY usr/ /usr/
14- COPY etc/ /etc/
13+ COPY rootfs /
1514
1615VOLUME $SUPERVISOR_CONF_DIR
1716
18- ENTRYPOINT entrypoint
19-
17+ ENTRYPOINT ["/usr/local/bin/entrypoint" ]
File renamed without changes.
Original file line number Diff line number Diff line change @@ -15,4 +15,3 @@ if [ -d "$INIT_DIR" ]; then
1515fi
1616
1717exec supervisord -c " $SUPERVISOR_CONF_FILE "
18-
Original file line number Diff line number Diff line change @@ -6,4 +6,3 @@ import datetime
66for line in sys .stdin :
77 now = datetime .datetime .now ().strftime ('%Y-%m-%d %H:%M:%S,%f' )[:- 3 ]
88 print (f"{ now } { line .strip ()} " , flush = True )
9-
You can’t perform that action at this time.
0 commit comments