You've already forked healthcheck
Инициализация
All checks were successful
Build and push Docker image / build (push) Successful in 1m2s
All checks were successful
Build and push Docker image / build (push) Successful in 1m2s
This commit is contained in:
21
.gitea/workflows/deploy.yaml
Normal file
21
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build and push Docker image
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ vars.REGISTRY }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: ${{ vars.REGISTRY }}/${{ vars.PACKAGE }}:latest
|
||||
Reference in New Issue
Block a user