Skip to content

Merge pull request #2 from caru-ini/feat/sign-in #8

Merge pull request #2 from caru-ini/feat/sign-in

Merge pull request #2 from caru-ini/feat/sign-in #8

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- uses: docker/build-push-action@v5
with:
push: true
build-args: |
VERSION=${{ env.VERSION }}
tags: frourio/magnito:latest,frourio/magnito:${{ env.VERSION }}