Compare commits

..

3 Commits

Author SHA1 Message Date
89e0b719d9 chore: move minio binary to /usr/loca/bin
Some checks failed
build-terraform-alpine / build-image (push) Failing after 44s
2025-01-24 03:47:03 +00:00
7e4d48622c feat: add minio support
All checks were successful
build-terraform-alpine / build-image (push) Successful in 1m8s
2025-01-24 02:38:06 +00:00
b4d872bf43 chore: set static architecture
All checks were successful
build-terraform-alpine / build-image (push) Successful in 52s
2025-01-23 23:11:53 +00:00
2 changed files with 5 additions and 9 deletions

View File

@@ -8,16 +8,9 @@ jobs:
steps: steps:
- name: Check out - name: Check out
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Check Architecture
run: |
if [ "$ARCH" = "x86_64" ]; then \
ARCH="amd64"; \
elif [ "$ARCH" = "aarch64" ]; then \
ARCH="${ARCH}"; \
fi
- name: Build Image - name: Build Image
run: | run: |
docker build --build-arg PRODUCT=terraform --build-arg VERSION=1.10.5 --build-arg=$ARCH \ docker build --build-arg PRODUCT=terraform --build-arg VERSION=1.10.5 --build-arg ARCH=arm64 \
-t gitea.jrdn.dev/${{vars.REPO_USERNAME}}/terraform-alpine:latest . -t gitea.jrdn.dev/${{vars.REPO_USERNAME}}/terraform-alpine:latest .
- name: Authenticate to Container Registry - name: Authenticate to Container Registry
run: | run: |

View File

@@ -4,7 +4,10 @@ ARG PRODUCT
ARG VERSION ARG VERSION
ARG ARCH ARG ARCH
RUN apk add --no-cache git npm bash RUN apk add --no-cache git npm bash curl
RUN curl https://dl.min.io/client/mc/release/linux-arm64/mc -o /usr/local/bin/mc
RUN chmod +x /usr/local/bin/mc
RUN apk add --update --virtual .deps --no-cache gnupg && \ RUN apk add --update --virtual .deps --no-cache gnupg && \
cd /tmp && \ cd /tmp && \