Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Dec 19, 2022
1 parent cb77b5f commit 2bf1e63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@

1. `task docker-cache`
2. `task docker-push` with four tags (`X.Y.Z` without leading `v` and `latest` for both ghcr.io and Docker Hub):
* `task docker-push DOCKER_IMAGE=ferretdb/ferretdb:latest`
* `task docker-push DOCKER_IMAGE=ferretdb/ferretdb:<tag>`
* `task docker-push DOCKER_IMAGE=ghcr.io/ferretdb/ferretdb:latest`
* `task docker-push DOCKER_IMAGE=ghcr.io/ferretdb/ferretdb:<tag>`
* `task docker-push DOCKER_IMAGES=ferretdb/ferretdb:latest`
* `task docker-push DOCKER_IMAGES=ferretdb/ferretdb:<tag>`
* `task docker-push DOCKER_IMAGES=ghcr.io/ferretdb/ferretdb:latest`
* `task docker-push DOCKER_IMAGES=ghcr.io/ferretdb/ferretdb:<tag>`
* Check <https://hub.docker.com/r/ferretdb/ferretdb/tags>, <https://github.com/FerretDB/FerretDB/pkgs/container/ferretdb>.

## Release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build Docker image ${{ steps.extract.outputs.ghcr }}
run: bin/task docker-push DOCKER_IMAGE=${{ steps.extract.outputs.ghcr }}
run: bin/task docker-push DOCKER_IMAGES=${{ steps.extract.outputs.ghcr }}

- name: Check dirty
run: |
Expand Down
4 changes: 2 additions & 2 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,14 @@ tasks:
docker-push:
deps: [gen-version]
cmds:
- test {{.DOCKER_IMAGE}}
- test {{.DOCKER_IMAGES}}
- >
docker buildx build --builder=ferretdb
--build-arg VERSION={{.VERSION}}
--build-arg COMMIT={{.COMMIT}}
--build-arg RACEFLAG={{.RACEFLAG}}
--platform=linux/arm/v7,linux/arm64,linux/amd64
--tag={{.DOCKER_IMAGE}}
--tag={{.DOCKER_IMAGES}}
--push .
vars:
VERSION:
Expand Down

0 comments on commit 2bf1e63

Please sign in to comment.