Skip to content

Commit

Permalink
add ghcr publish workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Dec 21, 2023
1 parent bb2fa2d commit bbdce9e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 2 - Publish

on:
push:
branches:
- main

jobs:
ghcr_publish:
name: Publish Images on GHCR
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: login to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: publish mdtranslator
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ghcr.io/gsa/mdtranslator:latest

0 comments on commit bbdce9e

Please sign in to comment.