|
name: CI |
|
|
|
on: |
|
push: |
|
branches: [ master ] |
|
workflow_dispatch: |
|
schedule: |
|
- cron: "0 8 * * 1" |
|
|
|
jobs: |
|
buildx: |
|
runs-on: ubuntu-latest |
|
steps: |
|
- name: Checkout |
|
uses: actions/checkout@v4 |
|
|
|
- name: Docker Login |
|
uses: docker/login-action@v3.0.0 |
|
with: |
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
- name: Set up QEMU |
|
uses: docker/setup-qemu-action@v3 |
|
|
|
- name: Set up Docker Buildx |
|
id: buildx |
|
uses: docker/setup-buildx-action@v3 |
|
|
|
- name: Build and push latest |
|
uses: docker/build-push-action@v5 |
|
with: |
|
context: . |
|
file: ./Dockerfile |
|
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 |
|
push: true |
|
tags: | |
|
walt3rl/proton-privoxy:latest |
|
walt3rl/proton-privoxy:0.4.2 |
|
|