Skip to content

Merge pull request #56 from SIkebe/gitbucket-4.39.0 #59

Merge pull request #56 from SIkebe/gitbucket-4.39.0

Merge pull request #56 from SIkebe/gitbucket-4.39.0 #59

Workflow file for this run

name: default build
on:
push:
branches:
- master
tags:
- '*'
jobs:
push_to_registry:
name: Push Docker image to GitHub Container registry
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/gitbucket/gitbucket
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}