botbotbot/.forgejo/workflows/push.yaml
Edgar P. Burkhart aa69969728
All checks were successful
Push Docker image / build (push) Successful in 1m21s
Update Docker image tag format in GitHub Actions workflow
2025-05-05 10:16:19 +02:00

25 lines
610 B
YAML

name: Push Docker image
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: code.edgarpierre.fr
username: ${{ vars.DOCKER_PUSH_USERNAME }}
password: ${{ secrets.DOCKER_PUSH_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: code.edgarpierre.fr/edpibu/botbotbot:${{ github.ref_name }}