mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
ci: Publish n8n docker images to GHCR (#5213)
This commit is contained in:
parent
58d0890dc3
commit
2b776f39f1
9
.github/workflows/docker-images.yml
vendored
9
.github/workflows/docker-images.yml
vendored
|
@ -26,6 +26,13 @@ jobs:
|
|||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
@ -43,3 +50,5 @@ jobs:
|
|||
tags: |
|
||||
${{ secrets.DOCKER_USERNAME }}/n8n:${{ steps.vars.outputs.tag }}${{ matrix.docker-context }}
|
||||
${{ secrets.DOCKER_USERNAME }}/n8n:latest${{ matrix.docker-context }}
|
||||
ghcr.io/${{ github.repository_owner }}/n8n:${{ steps.vars.outputs.tag }}${{ matrix.docker-context }}
|
||||
ghcr.io/${{ github.repository_owner }}/n8n:latest${{ matrix.docker-context }}
|
||||
|
|
Loading…
Reference in a new issue