Basic functionality working
Some checks failed
Deploy and Push Docker Image / BuildAndPush (push) Failing after 14s
Some checks failed
Deploy and Push Docker Image / BuildAndPush (push) Failing after 14s
This commit is contained in:
28
.gitea/workflows/docker-build.yml
Normal file
28
.gitea/workflows/docker-build.yml
Normal file
@ -0,0 +1,28 @@
|
||||
name: Deploy and Push Docker Image
|
||||
run-name: ${{ gitea.actor }} deploying to production 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
BuildAndPush:
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: gitea.henriburau.de
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN}}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: build/Dockerfile
|
||||
push: true
|
||||
platforms: linux/arm64,linux/amd64
|
||||
tags: |
|
||||
gitea.henriburau.de/ace966/WeeWooWebhook:latest
|
||||
gitea.henriburau.de/ace966/WeeWooWebhook:${{ gitea.run_id }}
|
||||
Reference in New Issue
Block a user