Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change(release): Make the latest tag point to the production build, rather than the build with experimental features #7817

Merged
merged 12 commits into from
Nov 2, 2023
Merged
Prev Previous commit
Next Next commit
Enable the latest tag for the production build only
teor2345 authored Oct 25, 2023
commit fd1ccbe95d36832adef1711e9994cf8198798ecb
3 changes: 2 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
@@ -33,14 +33,15 @@ jobs:
secrets: inherit

# The image will be named `zebra:<semver>`
# It should be built last, so the `latest` tag is the production build, not the experimental build.
# It should be built last, so overlapping tags point to the production build, not the experimental build.
teor2345 marked this conversation as resolved.
Show resolved Hide resolved
build:
name: Build Release Docker
teor2345 marked this conversation as resolved.
Show resolved Hide resolved
uses: ./.github/workflows/sub-build-docker-image.yml
with:
dockerfile_path: ./docker/Dockerfile
dockerfile_target: runtime
image_name: zebra
latest_tag: true
features: ${{ vars.RUST_PROD_FEATURES }}
rust_log: ${{ vars.RUST_LOG }}
# This step needs access to Docker Hub secrets to run successfully