Skip to content

Commit

Permalink
ci: fix call between workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCane committed Dec 28, 2023
1 parent 9a16292 commit 8f225af
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Check inputs
id: n8n_version
run: |
echo "👍 n8n_version: ${{ github.event.inputs.n8n_version }}"
- name: Checkout
uses: actions/checkout@v4

Expand All @@ -34,11 +29,11 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Replace n8n version in Dockerfile
run: sed -i 's/{N8N_VERSION}/${{ github.event.inputs.n8n_version }}/g' Dockerfile
run: sed -i 's/{N8N_VERSION}/${{ inputs.n8n_version }}/g' Dockerfile

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: codelytvtech/n8n-custom-image:${{ github.event.inputs.n8n_version }}
tags: codelytvtech/n8n-custom-image:${{ inputs.n8n_version }}

0 comments on commit 8f225af

Please sign in to comment.