Skip to content

update website

update website #11

Workflow file for this run

name: docker
on:
workflow_dispatch:
push:
branches:
- dev
jobs:
build-docker:
name: Build and release Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set lowercase repository owner
run: |
echo "OWNER_LC=${OWNER,,}" >> $GITHUB_ENV
env:
OWNER: ${{ github.repository_owner }}
- name: Build Docker image
uses: docker/build-push-action@v2
with:
context: bot/
file: bot/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/${{ env.OWNER_LC }}/discord-dictionary-bot:latest