fixed almalinux8 dockerfile
Build and push Almalinux 9 container images / Build almalinux base container images (push) Successful in 8m41s Details

This commit is contained in:
Muhamad Aditya Prima 2024-12-15 15:40:52 +07:00
parent 81357694ae
commit c890745433
3 changed files with 3 additions and 9 deletions

View File

@ -19,12 +19,6 @@ jobs:
with: with:
username: ${{ vars.DOCKERHUB_USERNAME }} username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to git.winteraccess.id
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: ${{ vars.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
# - name: Set up QEMU # - name: Set up QEMU
# uses: docker/setup-qemu-action@v3 # uses: docker/setup-qemu-action@v3
- name: Setup Docker buildx - name: Setup Docker buildx

View File

@ -1,4 +1,4 @@
ARG ALMALINUX_VERSION=9.5 ARG ALMALINUX_VERSION=8.10
FROM docker.io/almalinux:${ALMALINUX_VERSION} AS builder FROM docker.io/almalinux:${ALMALINUX_VERSION} AS builder

View File

@ -1,4 +1,4 @@
ARG ALMALINUX_VERSION=9.5 ARG ALMALINUX_VERSION=8.10
FROM docker.io/almalinux:${ALMALINUX_VERSION} AS builder FROM docker.io/almalinux:${ALMALINUX_VERSION} AS builder
@ -46,6 +46,6 @@ LABEL description="Provide latest release of micro Almalinux 9 container base im
LABEL io.k8s.description="Very small almalinux 9 based image which doesn't install package manager" LABEL io.k8s.description="Very small almalinux 9 based image which doesn't install package manager"
LABEL io.k8s.display-name="Almalinux 9 Micro" LABEL io.k8s.display-name="Almalinux 9 Micro"
COPY --from=system-build /mnt/rootfs/ / COPY --from=builder /mnt/rootfs/ /
CMD ["/bin/sh"] CMD ["/bin/sh"]