Skip to content

Merge pull request #41 from ictsc/integration-with-rstate #10

Merge pull request #41 from ictsc/integration-with-rstate

Merge pull request #41 from ictsc/integration-with-rstate #10

Workflow file for this run

name: Build and publish ictsc-discord-bot Docker image
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Sign in to GitHub Packages
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}