Skip to content

Update main.yaml

Update main.yaml #14

Workflow file for this run

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 }}