We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Write tests in the GitHub repo as soon as the test framework is decided.
import com.puzzleitc.jenkins.Quay pipeline { agent any environment { CRED = 'quay-token' REGISTRY_URL = 'https://registry.ch' ORG = 'org' REPOSITORY = 'backend' TAG='2.6.6' NEW_TAG='3.0.0' } stages { stage('tags') { steps { script { Quay quay = new Quay(this, env.CRED, env.REGISTRY_URL) // get sha of image referenced by the tag def sha = quay.getTagManifest(env.ORG, env.REPOSITORY, env.TAG) println "SHA: " + sha // add new tag to image quay.addTag(env.ORG, env.REPOSITORY, sha, env.NEW_TAG) } } } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Write tests in the GitHub repo as soon as the test framework is decided.
The text was updated successfully, but these errors were encountered: