2024-04-02 14:13:34 -04:00
|
|
|
name: Build and Push Latest
|
2024-02-19 17:44:37 -05:00
|
|
|
|
|
|
|
on:
|
2024-04-02 14:13:34 -04:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2024-02-19 17:44:37 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-registry:
|
|
|
|
name: Update Registry Image
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Login to git.beans.team
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
with:
|
|
|
|
registry: git.beans.team
|
|
|
|
username: em
|
|
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
|
|
|
|
|
|
- name: Build and Push Image
|
|
|
|
uses: docker/build-push-action@v5
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: ./Dockerfile
|
|
|
|
push: true
|
2024-04-02 14:13:34 -04:00
|
|
|
tags: git.beans.team/em/yuc:latest
|