Skip to content

chore(main): release apihero 0.1.1 (#4) #2

chore(main): release apihero 0.1.1 (#4)

chore(main): release apihero 0.1.1 (#4) #2

Workflow file for this run

name: Build and push Docker image
on:
push:
tags:
- '*'
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: get-npm-version
id: package-version
uses: martinbeentjes/[email protected]
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: Mokto
password: ${{ secrets.PAT }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/mokto/apihero:${{ steps.package-version.outputs.current-version}}