This repository has been archived on 2026-05-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-02-12 11:16:24 +01:00

31 lines
746 B
YAML

name: Build and Publish Docker Image
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to git.cashew.network registry
uses: docker/login-action@v3
with:
registry: git.cashew.network
username: ${{ secrets.GIT_USERNAME }}
password: ${{ secrets.GIT_PASSWORD }}
- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ secrets.GIT_USERNAME }}/ironveil:${{ github.ref_name }}