scouter/.github/workflows/build-release.yml

29 lines
667 B
YAML
Raw Permalink Normal View History

2024-02-26 16:46:22 -05:00
name: Build and Push Releases
2024-02-15 16:45:42 -05:00
2024-02-26 16:46:22 -05:00
on:
release:
types: [ published ]
2024-02-15 16:20:17 -05:00
2024-02-26 16:46:22 -05:00
jobs:
2024-02-15 16:45:42 -05:00
update-registry:
name: Update Registry Image
runs-on: ubuntu-latest
2024-02-15 16:20:17 -05:00
steps:
2024-02-15 16:45:42 -05:00
- name: Checkout
uses: actions/checkout@v4
2024-02-15 16:20:17 -05:00
2024-02-15 16:45:42 -05:00
- name: Login to git.beans.team
uses: docker/login-action@v3
2024-02-15 16:20:17 -05:00
with:
2024-02-15 16:45:42 -05:00
registry: git.beans.team
2024-02-15 16:20:17 -05:00
username: em
password: ${{ secrets.REGISTRY_PASSWORD }}
2024-02-15 16:45:42 -05:00
- name: Build and Push Image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
2024-02-26 16:46:22 -05:00
tags: git.beans.team/em/scouter:${{ github.event.release.tag_name }}