File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ steps :
2+ - label : " Build & Push Staging Docker Image"
3+ commands :
4+ - echo $$REGISTRY_PASSWORD | docker login adabay.azurecr.io --username $$REGISTRY_USERNAME --password-stdin
5+ - docker run --rm -v "$$PWD":/usr/src/app -w /usr/src/app ruby:3.2.2 bash -c "bundle config set --local path '/usr/src/app/vendor' && bundle install"
6+ - docker run --rm -v "$$PWD":/usr/src/app -w /usr/src/app ruby:3.2.2 bash -c "bundle config set --local path '/usr/src/app/vendor' && bundle exec jekyll build"
7+ - docker build --pull --progress plain -f Staging.Dockerfile -t adabay.azurecr.io/fz-juelich/website/parallel-in-time:latest .
8+ - docker push adabay.azurecr.io/fz-juelich/website/parallel-in-time:latest
9+ - docker logout adabay.azurecr.io
10+ plugins :
11+ - adabay/vault-key-value#v0.9.5:
12+ secrets :
13+ - secret_path : " static/ci/username-password-combinations/adabay.azurecr.io"
14+ secret_key : " username"
15+ exported_env_variable_name : " REGISTRY_USERNAME"
16+ - secret_path : " static/ci/username-password-combinations/adabay.azurecr.io"
17+ secret_key : " password"
18+ exported_env_variable_name : " REGISTRY_PASSWORD"
Original file line number Diff line number Diff line change 1+ FROM httpd:2.4
2+
3+ COPY --chown=www-data:www-data _site /usr/local/apache2/htdocs/
You can’t perform that action at this time.
0 commit comments