8 Commits
0.0.6 ... 0.0.9

Author SHA1 Message Date
Stephen Simpson
f8d598fc29 Remove redundant registry retrieval step and use environment variable directly in Docker workflow
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m37s
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-10-27 09:21:05 -05:00
Stephen Simpson
95854ddd05 Refactor registry handling in Docker workflow to use RUNNER_REGISTRY environment variable
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 3m46s
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-10-24 12:33:56 -05:00
d97dc0d987 Update .gitea/workflows/docker-image-linux.yml
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m10s
2025-10-22 21:46:14 -05:00
15717fff54 Update Dockerfile
Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
2025-10-22 19:47:58 -05:00
84df07759c Removing update
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m21s
2025-10-22 19:39:04 -05:00
0a60f500a4 Removed screen and htop add epel
Some checks are pending
Build and publish Docker image / build-and-push (push) Waiting to run
2025-10-22 18:56:37 -05:00
b0262ab897 Fix formatting
Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
2025-10-22 18:48:40 -05:00
40cb279e2e Update
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 5m7s
2025-09-21 11:27:34 -05:00
2 changed files with 12 additions and 14 deletions

View File

@@ -10,14 +10,11 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
REGISTRY: gitea.sjs.io
IMAGE_NAME: rocky-dev IMAGE_NAME: rocky-dev
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: gitea/runner-images:ubuntu-latest
permissions: permissions:
contents: read contents: read
@@ -36,7 +33,7 @@ jobs:
- name: Log in to registry - name: Log in to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ vars.REGISTRY }}
username: ${{ vars.USERNAME }} username: ${{ vars.USERNAME }}
password: ${{ secrets.PASS }} password: ${{ secrets.PASS }}
@@ -44,7 +41,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }} images: ${{ vars.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }}
tags: | tags: |
# Only tag with version and latest on tag push # Only tag with version and latest on tag push
type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/') }} type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/') }}

View File

@@ -1,6 +1,6 @@
FROM rockylinux:9 FROM rockylinux/rockylinux:9
RUN dnf update -y && \ RUN dnf install -y epel-release && \
dnf install -y \ dnf install -y \
iputils \ iputils \
iproute \ iproute \
@@ -14,12 +14,9 @@ RUN dnf update -y && \
createrepo_c \ createrepo_c \
golang \ golang \
python3-pip \ python3-pip \
curl \
git \ git \
tree \ tree \
htop \
tmux \ tmux \
screen \
nano \ nano \
unzip \ unzip \
tar \ tar \
@@ -35,12 +32,16 @@ RUN dnf update -y && \
nodejs \ nodejs \
npm && \ npm && \
dnf group install -y "Development Tools" && \ dnf group install -y "Development Tools" && \
dnf clean all && \ dnf clean all
case "$(uname -m)" in \
x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \ RUN set -e && \
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \ ARCH=$(uname -m) && \
case "$ARCH" in \
x86_64) YQ_ARCH="amd64" ;; \
aarch64) YQ_ARCH="arm64" ;; \
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \ *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
esac && \ esac && \
wget "https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_${YQ_ARCH}" -O /usr/local/bin/yq && \
chmod +x /usr/local/bin/yq && \ chmod +x /usr/local/bin/yq && \
echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \ echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \
echo "alias ls='ls --color=auto'" >> /root/.bashrc echo "alias ls='ls --color=auto'" >> /root/.bashrc