Report which adlist #458
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
uses: ./.github/workflows/check.yml | |
secrets: inherit | |
push_to_registry: | |
name: Push Docker image to GitHub Packages | |
runs-on: ubuntu-latest | |
needs: check | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to GitHub Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build SSL container image | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
target: default | |
build-args: | | |
GIT_REVISION=${{ github.sha }} | |
tags: | | |
ghcr.io/doridian/foxdns/foxdns:latest | |
ghcr.io/doridian/foxdns/foxdns:ssl | |
- name: Build NOssl container image | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
target: nossl | |
build-args: | | |
GIT_REVISION=${{ github.sha }} | |
tags: | | |
ghcr.io/doridian/foxdns/foxdns:nossl | |
- name: Build SSL-COMPRESSED container image | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
target: compressed | |
build-args: | | |
GIT_REVISION=${{ github.sha }} | |
tags: | | |
ghcr.io/doridian/foxdns/foxdns:compressed | |
ghcr.io/doridian/foxdns/foxdns:ssl-compressed | |
- name: Build NOssl-COMPRESSED container image | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
target: nossl-compressed | |
build-args: | | |
GIT_REVISION=${{ github.sha }} | |
tags: | | |
ghcr.io/doridian/foxdns/foxdns:nossl-compressed | |