Skip to content

gemi (dockerize): fix repo name #2

gemi (dockerize): fix repo name

gemi (dockerize): fix repo name #2

Workflow file for this run

name: Build and Publish Docker Image
on:
push:
branches: [ main, docker ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
push: true
tags: ghcr.io/akash98sky/gemi-bot:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}