1
0
mirror of synced 2025-11-06 05:10:37 +08:00

chore: Update build workflow to include Docker image build and push to GitHub Container Registry

This commit is contained in:
Anduin
2024-06-03 12:55:50 +00:00
parent 1df335b082
commit 3128f9b3db

View File

@@ -5,7 +5,7 @@ on:
branches: [ master ]
jobs:
Rebuild-everything:
build-readme-file:
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
@@ -29,6 +29,14 @@ jobs:
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
build-docker-image:
needs: build-readme-file
runs-on: ubuntu-latest
steps:
# Checkout, install tools..
- uses: actions/checkout@v2
with:
token: ${{ secrets.PAT }}
# Use docker to build current directory ./Dockfile
- name: Login to GitHub Container Registry
uses: docker/login-action@v1