mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-09 21:35:13 +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 }}
|
||||
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
|
||||
run: |
|
||||
VER=$(cat ./docker-build/VERSION)
|
||||
|
@ -29,15 +36,16 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./docker-build
|
||||
file: ./docker-build/Dockerfile
|
||||
platforms: |
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
${{ secrets.DOCKER_USER }}/pihole-unbound-hyperlocal:${{ env.VERSION }}-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