Skip to content

Bump puma from 6.4.0 to 6.4.2 (#64) #105

Bump puma from 6.4.0 to 6.4.2 (#64)

Bump puma from 6.4.0 to 6.4.2 (#64) #105

Workflow file for this run

name: Docker
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '30 1 1 * *'
workflow_dispatch:
jobs:
demo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: |
nlpub/petrovich-demo:latest
ghcr.io/petrovich/petrovich-demo:latest
- name: Update Docker Hub description
if: github.event_name != 'pull_request'
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: nlpub/petrovich-demo
short-description: ${{ github.event.repository.description }}