Skip to content

Use Mastodon 4.2.7

Use Mastodon 4.2.7 #18

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches:
- "main"
# Borrowed from
# https://github.com/docker/build-push-action
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: mastodon/mastodon
path: ./mastodon
fetch-depth: 1
ref: "v4.2.7"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: neetshin/mastodon-dev:latest