Skip to content

Commit

Permalink
Merge branch 'fix/github-codespace-latest' into 'develop'
Browse files Browse the repository at this point in the history
Ensure building GitHub Codespace on latest commit

See merge request monticore/montithings/core!396
  • Loading branch information
kirchhof committed Jun 1, 2024
2 parents 92f453a + a18d0ed commit 532622f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,12 @@ GitHub Mirror:
Docker GitHub Codespace:
<<: *docker_build_definition
stage: mirror
needs: ["GitHub Mirror"] # Wait to complete mirror so docker pulls the latest version
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "push"'
when: on_success
script:
- docker build -t montithings/codespace -f .devcontainer/Dockerfile .
- docker build --no-cache -t montithings/codespace -f .devcontainer/Dockerfile .
- docker push montithings/codespace


Expand Down

0 comments on commit 532622f

Please sign in to comment.