Skip to content

v1.3.0

v1.3.0 #25

Workflow file for this run

# 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