Skip to content

Bump up ssspam-bot to 0.3.0 #135

Bump up ssspam-bot to 0.3.0

Bump up ssspam-bot to 0.3.0 #135

name: Docker build and push
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: reiyw/ssspam:latest
cache-from: type=registry,ref=reiyw/ssspam:buildcache
cache-to: type=registry,ref=reiyw/ssspam:buildcache,mode=max