chore: what happens in vegas stays in vegas #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Delivery | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'src/**' | |
- 'Dockerfile' | |
- '.github/workflows/continuous-delivery.yml' | |
- 'package.json' | |
jobs: | |
PublishRing: | |
name: Publish Ring image to container registries | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push Ring Docker image | |
uses: docker/build-push-action@v6 | |
with: | |
push: true | |
context: . | |
tags: ghcr.io/skyra-project/ring:latest |