Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
tags:
- 'v*.*.*'
pull_request:
env:
# don't hardcode the repo name; so that CI won't fail on forks
IMAGE_NAME: ${{github.repository}}
jobs:
docker:
runs-on: ubuntu-latest
Expand All @@ -21,7 +24,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/matjazp/ubuntu-bind
ghcr.io/${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand All @@ -48,4 +51,4 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM internetsystemsconsortium/bind9:9.16
LABEL org.opencontainers.image.source="https://github.com/matjazp/ubuntu-bind"
RUN apt-get -qqy update && apt-get -qqy install dnsutils iputils-ping ifupdown less nano
RUN apt-get -qqy update && apt-get -qqy install dnsutils iputils-ping ifupdown less nano vim
COPY startup.sh /startup.sh
RUN chmod +x /startup.sh
COPY --chown=root:bind named.conf.log /etc/named.conf.log
Expand Down