Skip to content

Merge pull request #98 from yukimochi/deps/update-all #30

Merge pull request #98 from yukimochi/deps/update-all

Merge pull request #98 from yukimochi/deps/update-all #30

Workflow file for this run

name: Release Build
on:
push:
tags:
- 'v*'
jobs:
build:
name: Release Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- id: variables
env:
GITHUB_REF: ${{ github.ref }}
run: |
git fetch --prune --unshallow
echo "ref=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASS }}
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v3
with:
push: true
context: .
platforms: linux/amd64,linux/arm64
tags: |
${{ secrets.REGISTRY_USER }}/activity-relay:${{ steps.variables.outputs.ref }}
ghcr.io/${{ secrets.REGISTRY_USER }}/activity-relay/activity-relay:${{ steps.variables.outputs.ref }}