We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic reference https://dev.to/github/publishing-a-docker-image-to-githubs-container-repository-4n50
name: publish on: [push] jobs: publish-hello-docker-image: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build the hello-docker Docker image run: | docker build . --tag ghcr.io/deselikem/hello-docker-gcr-demo:latest docker run ghcr.io/deselikem/hello-docker-gcr-demo:latest docker push ghcr.io/deselikem/hello-docker-gcr-demo:latest
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Basic reference https://dev.to/github/publishing-a-docker-image-to-githubs-container-repository-4n50
The text was updated successfully, but these errors were encountered: