Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

docs(changelog): release 0.0.1-alpha.4 #1

docs(changelog): release 0.0.1-alpha.4

docs(changelog): release 0.0.1-alpha.4 #1

Workflow file for this run

name: Docker
on:
push:
tags: ["v*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version for tag
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: user/app:${{ env.VERSION }}