Update main.yaml #14
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: Publish Docker image | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
push_to_registry: | |
name: Push Docker image to atndr.net registry | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Push to Docker registry | |
uses: docker/build-push-action@v1 | |
with: | |
registry: docker.atndr.net | |
repository: circlegram/circlegram | |
username: ${{ secrets.ATNDR_DOCKER_USERNAME }} | |
password: ${{ secrets.ATNDR_DOCKER_PASSWORD }} | |
tag_with_ref: true | |
tag_with_sha: true | |
build_args: SNOWPACK_PUBLIC_API_ID=${{ secrets.SNOWPACK_PUBLIC_API_ID }},SNOWPACK_PUBLIC_API_HASH=${{ secrets.SNOWPACK_PUBLIC_API_HASH }} |