nginx-proxy-manager-zh/.github/workflows/docker.yml

27 lines
726 B
YAML
Raw Normal View History

2023-04-04 09:29:56 -04:00
name: GitHub Actions Docker Buildx
on:
workflow_dispatch:
push:
branches:
- develop-zh
- develop-zh_*
jobs:
Docker-Buildx:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login docker hub
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: echo "${DOCKER_PASSWORD}" | docker login --username ${DOCKER_USERNAME} --password-stdin
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v2.5.0
- name: Build Dockerfile
run: |
2023-04-04 09:55:03 -04:00
chmod -R 755 scripts && ls -l &&\
cd scripts && ls -l &&\
2023-04-04 09:29:56 -04:00
./buildx-zh