Skip to content

Clarify that images are hosted on ghcr.io #11

Clarify that images are hosted on ghcr.io

Clarify that images are hosted on ghcr.io #11

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