-
Notifications
You must be signed in to change notification settings - Fork 25
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 image push method and set tags correctly #287
base: master
Are you sure you want to change the base?
Conversation
ATarrio
commented
Jul 4, 2024
•
edited
Loading
edited
- Use the build-push action to actually push images instead of doing it with a shell command
- Use the generated tags to push them to the registries
- Remove step for setting version, we can just use github_ref_name.
- Upgrade some actions versions to newer ones (like checkout which was giving a deprecation warning)
Dockerfile
Outdated
RUN gpg --keyserver https://secchannel.rsk.co/SUPPORT.asc --recv-keys 1DC9157991323D23FD37BAA7A6DBEAC640C5A14B && \ | ||
gpg --verify --output SHA256SUMS SHA256SUMS.asc && \ | ||
sha256sum --check SHA256SUMS && \ | ||
./configure.sh && \ | ||
./gradlew --no-daemon clean build -x test && \ | ||
cp "build/libs/federate-node-$RSK_VERSION-all.jar" rsk.jar | ||
RUN gpg --keyserver https://secchannel.rsk.co/SUPPORT.asc --recv-keys 1DC9157991323D23FD37BAA7A6DBEAC640C5A14B | ||
RUN gpg --verify --output SHA256SUMS SHA256SUMS.asc | ||
RUN sha256sum --check SHA256SUMS | ||
RUN ./configure.sh | ||
RUN ./gradlew --no-daemon clean build -x test | ||
RUN cp "build/libs/federate-node-$RSK_VERSION-all.jar" rsk.jar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this. There is no reason to generate 6 intermediate layers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed back
3a26c43
to
f7f803d
Compare
b60b01e
to
52098df
Compare
Quality Gate passedIssues Measures |