Skip to content

Requirements: Bump discord.py to version 2.3.2 #36

Requirements: Bump discord.py to version 2.3.2

Requirements: Bump discord.py to version 2.3.2 #36

Workflow file for this run

name: Publish Docker Image
on:
push:
tags:
- "v*.*.*"
env:
IMAGE_NAME: nagatoro
jobs:
publish:
name: Build and publish Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set Docker Metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
latest
alpine
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=${{ github.repository }}:latest
cache-to: type=inline