mirror of
https://github.com/shenxn/protonmail-bridge-docker.git
synced 2025-12-06 08:27:08 +00:00
36 lines
732 B
YAML
36 lines
732 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- dev
|
|
paths:
|
|
- .github/workflows/main.yaml
|
|
- .dockerignore
|
|
- Dockerfile
|
|
- entrypoint.sh
|
|
- gpgparams
|
|
- install.sh
|
|
- set-env.sh
|
|
- VERSION
|
|
|
|
env:
|
|
DOCKER_REPO: shenxn/protonmail-bridge
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@master
|
|
- name: Set Env
|
|
run: bash set-env.sh
|
|
- uses: docker/build-push-action@v1
|
|
with:
|
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
repository: shenxn/protonmail-bridge
|
|
tags: ${{ env.TAGS }}
|
|
add_git_labels: true
|