DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: 2c30d19ea1b994bd76d30e87fd50d135c4fb59ad liljamo-dev-zola/.build.yml -rw-r--r-- 825 bytes
2c30d19eJonni Liljamo chore: put SairinaMC on ice a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: alpine/edge
packages:
  - docker
secrets:
  - 41d1f8d0-2205-4955-939a-91219e22d2c1
  - 1cdce002-5269-4cf8-8d59-2ef4d9ad4f77
sources:
  - git@git.src.quest:~skye/liljamo-dev-zola
tasks:
  - setup: |
      sudo rc-service docker start
      sudo addgroup $(whoami) docker
      docker login https://registry.liljamo.dev --username skyeci --password-stdin < ~/.uwulpine-registry-pwd
  - build: |
      cd liljamo-dev-zola
      export COMMIT=$(git log -1 --pretty=%h)
      docker build -t registry.liljamo.dev/skye/liljamo-dev-zola:latest -t registry.liljamo.dev/skye/liljamo-dev-zola:"$COMMIT" .
  - push: |
      cd liljamo-dev-zola
      export COMMIT=$(git log -1 --pretty=%h)
      docker push registry.liljamo.dev/skye/liljamo-dev-zola:latest
      docker push registry.liljamo.dev/skye/liljamo-dev-zola:"$COMMIT"