New params to work better in unknown map #38
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 Image" | |
on: | |
repository_dispatch: | |
push: | |
branches: | |
- master | |
- main | |
workflow_dispatch: | |
jobs: | |
build_registry_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build images | |
run: | | |
./build.sh | |
- name: Log into registry | |
run: | | |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
- name: Push images | |
run: | | |
./push.sh |