Skip to content

Merge pull request #2 from g3rhard/renovate/docker-dockerfile-1.x #25

Merge pull request #2 from g3rhard/renovate/docker-dockerfile-1.x

Merge pull request #2 from g3rhard/renovate/docker-dockerfile-1.x #25

Workflow file for this run

---
name: production
on:
push:
branches: [production]
paths-ignore:
- "README.md"
tags:
- 'v*.*.*'
pull_request:
branches: [production]
paths-ignore:
- "README.md"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ github.repository }}:${{ github.ref_name }}
- name: Send Discord notification
uses: sarisia/actions-status-discord@v1
if: always()
with:
title: "${{ github.repository }}: ${{ github.workflow }}"
webhook: ${{ secrets.DISCORD_WEBHOOK }}