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

30 lines
645 B
YAML
Raw Permalink Normal View History

2024-02-15 16:20:17 -05:00
name: Build and Push to git.beans.team
2024-02-15 16:45:42 -05:00
2024-02-26 16:46:22 -05:00
on:
2024-02-15 16:20:17 -05:00
push:
branches:
- main
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:latest