Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 7, 2024
1 parent 423f539 commit f8f72a8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- "dev/BASE"

jobs:
build-v1:
base:
runs-on: ubuntu-latest
steps:
-
Expand All @@ -39,6 +39,27 @@ jobs:
push: true
platforms: linux/amd64, linux/arm64, linux/s390x, linux/ppc64le, linux/arm
tags: ${{ secrets.DOCKERHUB_USERNAME }}/docker-instant-ai:base

build-v1:
needs:
- base
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push BASE
uses: docker/build-push-action@v5
Expand Down
4 changes: 4 additions & 0 deletions dev/BASE
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ RUN \

RUN addgroup -S ${XUSER} && \
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${XUSER} ${XUSER}

RUN apk del ${PKG} && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/*

0 comments on commit f8f72a8

Please sign in to comment.