From 078e34f3b667d3f2321eabc40077102b5178d216 Mon Sep 17 00:00:00 2001 From: Brandon Sturgeon Date: Wed, 7 Feb 2024 04:39:41 -0800 Subject: [PATCH] Disable slim for now --- .github/workflows/update.yml | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 417b8c1..b524b07 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -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: | @@ -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