Skip to content

v0.0.2

v0.0.2 #2

Workflow file for this run

name: build docker images
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.22.2"
check-latest: true
- uses: actions/checkout@v2
- name: Prepare Release Variables
id: vars
uses: ignite/cli/actions/release/vars@main
- name: build
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.GHCR_USER }}" --password-stdin
docker build . --tag ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag_name }} -f Dockerfile
docker push ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag_name }}