Skip to content

Use recreate strategy if using RWO volumes (#7) #8

Use recreate strategy if using RWO volumes (#7)

Use recreate strategy if using RWO volumes (#7) #8

name: Docker image release
on:
push:
branches:
- 'main'
jobs:
docker-image-release:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
target: app-production
push: true
tags: |
ghcr.io/${{ github.repository }}:latest