Clarify that images are hosted on ghcr.io #11
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: "Publish Container Image" | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: Read version | |
run: echo "VERSION=$(cat autoinstrumentation/java/version.txt)" >> $GITHUB_ENV | |
- name: Login to GitHub Package Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/[email protected] | |
with: | |
context: . | |
push: true | |
tags: ghcr.io/jaegertracing/spark-dependencies/spark-dependencies |