test docker build

This commit is contained in:
Darren 2023-12-08 17:58:21 +08:00 committed by GitHub
parent 8c0dca644a
commit cfc5b5b88b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -93,8 +93,8 @@ jobs:
registry: docker.io
directory: ${{env.DIRECTORY}}
dockerfile: ${{env.DOCKERFILE}}
#multiPlatform: true
#platform: linux/amd64
multiPlatform: true
platform: linux/amd64
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

View file

@ -12,12 +12,11 @@ ENV websoft9_artifact="https://w9artifact.blob.core.windows.net/release/websoft9
ENV library_repo="https://github.com/Websoft9/docker-library"
ENV source_github_pages="https://websoft9.github.io/websoft9"
SHELL ["/bin/bash", "-c"]
RUN apt update && apt install -y --no-install-recommends curl git jq cron iproute2 supervisor rsync wget unzip zip && \
git clone --depth=1 $library_repo && \
mv docker-library w9library && \
rm -rf w9library/.github && \
# supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf