From 4dcd35adfcba0b0e3bb345c8bf49b01c19028d21 Mon Sep 17 00:00:00 2001 From: Muhamad Aditya Prima Date: Fri, 13 Dec 2024 01:58:14 +0700 Subject: [PATCH] Updated action workflows and added epel-9 to ubi9 image --- .gitea/workflows/winter.yaml | 12 ++++++------ Dockerfile | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/winter.yaml b/.gitea/workflows/winter.yaml index 188dd04..c77e436 100644 --- a/.gitea/workflows/winter.yaml +++ b/.gitea/workflows/winter.yaml @@ -17,8 +17,8 @@ jobs: uses: docker/login-action@v3 with: registry: git.winteraccess.id - username: aditya.prima - password: ${{ secrets.PATOKEN }} + username: ${{ vars.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push 9.3 uses: docker/build-push-action@v5 with: @@ -62,8 +62,8 @@ jobs: uses: docker/login-action@v3 with: registry: docker.io - username: aprimediet - password: ${{ secrets.DOCKER_TOKEN }} + username: ${{ vars.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push 9.3 uses: docker/build-push-action@v5 with: @@ -107,8 +107,8 @@ jobs: uses: docker/login-action@v3 with: registry: docker.io - username: aprimediet - password: ${{ secrets.DOCKER_TOKEN }} + username: ${{ vars.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push 9.3 uses: docker/build-push-action@v5 with: diff --git a/Dockerfile b/Dockerfile index e457a9e..512200f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,10 @@ ARG TIMEZONE="Asia/Jakarta" # Change timezone to desired timezone ENV TZ=${TIMEZONE} +# Reconfigure tzdata and also install epel-9 RUN dnf -y install tzdata && \ dnf -y reinstall tzdata && \ + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ dnf -y update && \ dnf -y autoremove && \ dnf -y clean all