v1.3.0 #25
Workflow file for this run
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
# SPDX-License-Identifier: MIT | |
# SPDX-FileCopyrightText: 2021 Avinal Kumar <avinal.xlvii@gmail.com> | |
# | |
# Distributed under the terms of MIT License | |
# The full license is in the file LICENSE, distributed with this software. | |
name: publish image | |
on: [release] | |
jobs: | |
publish-image: | |
runs-on: ubuntu-latest | |
env: | |
IMAGE_NAME: ghcr.io/avinal/lark:latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
- name: Build the lark Docker image | |
run: docker build . --tag $IMAGE_NAME | |
- name: Push lark to GitHub Container Registry | |
run: docker push $IMAGE_NAME |