Skip to content

Commit

Permalink
Fix task docker-local command (#4363)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored Jun 12, 2024
1 parent 798e667 commit 453e731
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ jobs:
- name: Initialize Docker Buildx builder
run: bin/task docker-init

# mostly to check that this command still works
- name: Build local Docker image
run: bin/task docker-local FILE=production

- name: Extract Docker image names
id: extract
uses: FerretDB/github-actions/extract-docker-tag@main
Expand Down
3 changes: 2 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,10 @@ tasks:
- echo 'docker-local-{{.FILE}}' > build/version/package.txt
- task: docker-build
vars:
FILE: ferretdb/{{.FILE}}
TARGET: "{{.FILE}}"
DOCKER_IMAGES: ferretdb-local
OUTPUT: type=docker
TARGET: "{{.FILE}}"
requires:
vars: [FILE]

Expand Down

0 comments on commit 453e731

Please sign in to comment.