Skip to content

Commit

Permalink
Disable slim for now
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Feb 7, 2024
1 parent bb0f363 commit 078e34f
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Get docker-slim
run: |
SLIM_VERSION=1.40.11
#- name: Get docker-slim
# run: |
# SLIM_VERSION=1.40.11

curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/$SLIM_VERSION/dist_linux.tar.gz
tar -xvzf ds.tar.gz
# curl -L -o ds.tar.gz https://downloads.dockerslim.com/releases/$SLIM_VERSION/dist_linux.tar.gz
# tar -xvzf ds.tar.gz

mv dist_linux/* /usr/local/bin/
rm -rfv ds.tar.gz dist_linux/
# mv dist_linux/* /usr/local/bin/
# rm -rfv ds.tar.gz dist_linux/

- name: Setup
run: |
Expand All @@ -42,17 +42,18 @@ jobs:

- name: Build starter image
run: |
docker build --tag gmodwiki_fat:latest .
#docker build --tag gmodwiki_fat:latest .
docker build --tag ghcr.io/cfc-servers/gmodwiki:latest .
- name: Make slim image
run: |
/usr/local/bin/docker-slim build \
--target gmodwiki_fat:latest \
--preserve-path /app/dist \
--remove-file-artifacts \
--continue-after 10 \
--show-clogs --show-blogs \
--tag ghcr.io/cfc-servers/gmodwiki:latest
#- name: Make slim image
# run: |
# /usr/local/bin/docker-slim build \
# --target gmodwiki_fat:latest \
# --preserve-path /app/dist \
# --remove-file-artifacts \
# --continue-after 10 \
# --show-clogs --show-blogs \
# --tag ghcr.io/cfc-servers/gmodwiki:latest
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 078e34f

Please sign in to comment.