Skip to content

Use twice daily JustRunMyApp redeploy schedule #5

Use twice daily JustRunMyApp redeploy schedule

Use twice daily JustRunMyApp redeploy schedule #5

name: Deploy to JustRunMy.App
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Log in to JustRunMy.App registry
uses: docker/login-action@v3
with:
registry: ${{ secrets.JUSTRUNMY_REGISTRY }}
username: ${{ secrets.JUSTRUNMY_REGISTRY_USERNAME }}
password: ${{ secrets.JUSTRUNMY_REGISTRY_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ secrets.JUSTRUNMY_IMAGE }}