Initial commit: Modular personal toolbox with Chinese stroke order tool
Build and Push Docker Image / build (push) Failing after 5s
Build and Push Docker Image / build (push) Failing after 5s
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: actions/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.pengzhan.dev
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
git.pengzhan.dev/${{ gitea.repository }}:latest
|
||||
git.pengzhan.dev/${{ gitea.repository }}:${{ gitea.sha }}
|
||||
Reference in New Issue
Block a user