From c109e8a41dc6495b0e99822ca5a59fcd4b49d890 Mon Sep 17 00:00:00 2001 From: Nicholas Jones Date: Tue, 13 Feb 2024 12:21:53 -0700 Subject: [PATCH] added CI content --- .github/workflows/build_containers.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build_containers.yml diff --git a/.github/workflows/build_containers.yml b/.github/workflows/build_containers.yml new file mode 100644 index 0000000..3c780f0 --- /dev/null +++ b/.github/workflows/build_containers.yml @@ -0,0 +1,26 @@ +name: build and publish containers +on: workflow_dispatch +permissions: + contents: read + packages: write +jobs: + build: + name: + runs-on: ubuntu-latest + steps: + - name: check out the repo + uses: actions/checkout@v4 + - name: setup Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to github container repo + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: build+push + uses: docker/build-push-action@v5 + with: + context: "{{defaultContext}}:dnsmasq-dhcpd-dynamic" + push: true + tags: dnsmasq:dyanmic-test