diff --git a/.github/workflows/buildah.yml b/.github/workflows/buildah.yml index 973d909..0c03747 100644 --- a/.github/workflows/buildah.yml +++ b/.github/workflows/buildah.yml @@ -1,6 +1,9 @@ name: Build dnsmasq oci container image on: + push: + branches: + - gh-actions workflow_dispatch: inputs: custom_tag: @@ -8,11 +11,6 @@ on: required: false default: 'latest' type: string - secrets: - QUAY_USER_NAME: - required: false - QUAY_PASSWORD: - required: false env: # Use docker.io for Docker Hub if empty @@ -58,7 +56,7 @@ jobs: extra-args: | --squash containerfiles: | - Copntainerfile + Containerfile - name: Echo Outputs run: | diff --git a/Containerfile b/Containerfile index 8eb43c0..387652f 100644 --- a/Containerfile +++ b/Containerfile @@ -1,10 +1,10 @@ +FROM registry.access.redhat.com/ubi9/ubi + LABEL maintainer="3scale system team <3scale@redhat.com>" LABEL org.opencontainers.image.title="dnsmasq", LABEL org.opencontainers.image.source="https://github.com/3scale/dnsmasq" LABEL org.opencontainers.image.vendor="3scale" -FROM registry.access.redhat.com/ubi9/ubi - RUN dnf -y install dnsmasq EXPOSE 53 67 69 ENTRYPOINT ["/usr/sbin/dnsmasq"]