All checks were successful
Deploy and Push Docker Image / BuildAndPush (push) Successful in 2m14s
29 lines
885 B
YAML
29 lines
885 B
YAML
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@v6
|
|
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 }}
|