Update scripts #548
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: build docker images | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: login registry | |
run: echo ${{secrets.DOCKER_HUB_PASSWORD}} | docker login -u wizawu --password-stdin | |
- name: build proxy image | |
run: cd docker/proxy && docker build . -t wizawu/proxy:latest | |
- name: push proxy image | |
run: docker push wizawu/proxy:latest | |
- name: build postgres image | |
run: cd docker/postgres && docker build . -t wizawu/postgres:latest | |
- name: push postgres image | |
run: docker push wizawu/postgres:latest |