Updated action workflows and added epel-9 to ubi9 image
Build and Push Redhat UBI9 Image / Build and push ubi9-micro image (push) Failing after 10s Details
Build and Push Redhat UBI9 Image / Build and push ubi9-minimal image (push) Failing after 9s Details
Build and Push Redhat UBI9 Image / Build and push ubi9 image (push) Failing after 9s Details

This commit is contained in:
Muhamad Aditya Prima 2024-12-13 01:58:14 +07:00
parent 6f7c333b9e
commit 4dcd35adfc
2 changed files with 8 additions and 6 deletions

View File

@ -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:

View File

@ -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