mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 05:45:14 +02:00
add ghcr.io and remove support vor armv7
This commit is contained in:
parent
92ba908d8b
commit
942a4877f9
1 changed files with 10 additions and 2 deletions
12
.github/workflows/build_dev.yml
vendored
12
.github/workflows/build_dev.yml
vendored
|
@ -17,6 +17,13 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.GHCR_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Set up variables
|
- name: Set up variables
|
||||||
run: |
|
run: |
|
||||||
VER=$(cat ./docker-build/VERSION)
|
VER=$(cat ./docker-build/VERSION)
|
||||||
|
@ -29,15 +36,16 @@ jobs:
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./docker-build
|
context: ./docker-build
|
||||||
file: ./docker-build/Dockerfile
|
file: ./docker-build/Dockerfile
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/arm/v7
|
|
||||||
linux/arm64
|
linux/arm64
|
||||||
linux/amd64
|
linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:${{ env.VERSION }}-dev
|
${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:${{ env.VERSION }}-dev
|
||||||
${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:dev
|
${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:dev
|
||||||
|
ghcr.io/${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:${{ env.VERSION }}-dev
|
||||||
|
ghcr.io/${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:dev
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue