mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
👷 Fix Docker login issue
This commit is contained in:
parent
38b9c9212a
commit
9f03c9d2aa
8
.github/workflows/docker-images.yml
vendored
8
.github/workflows/docker-images.yml
vendored
|
@ -16,12 +16,8 @@ jobs:
|
|||
- name: Get the version
|
||||
id: vars
|
||||
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:14})
|
||||
- name: Log in to registry
|
||||
uses: actions/docker/login@master
|
||||
env:
|
||||
DOCKER_REGISTRY_URL: registry.hub.docker.com
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Log in to Docker registry
|
||||
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build the Docker image of version
|
||||
run: docker build --build-arg N8N_VERSION=${{steps.vars.outputs.tag}} -t n8nio/n8n:${{steps.vars.outputs.tag}} docker/images/n8n
|
||||
- name: Push Docker image of version
|
||||
|
|
Loading…
Reference in a new issue