Skip to content

Commit

Permalink
EGON-46: Publish image automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Dymel committed Jan 16, 2024
1 parent fd1d648 commit 57313e7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:

runs-on: ubuntu-20.04

permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -52,3 +56,16 @@ jobs:
git commit -m "Deploy latest build"
git push
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: latest

0 comments on commit 57313e7

Please sign in to comment.