Commit 44fec32f authored by julien dehos's avatar julien dehos

update ci

parent 10be55e0
Pipeline #75791536 passed with stages
in 6 minutes and 26 seconds
build-native:
type: build
image: juliendehos/haskell-invaders:native
image: juliendehos/cicd:haskell-invaders-native
script:
- nix-build -A native ./config/release.nix
only:
......@@ -8,7 +8,7 @@ build-native:
build-web:
type: build
image: juliendehos/haskell-invaders:web
image: juliendehos/cicd:haskell-invaders-web
artifacts:
untracked: true
script:
......
FROM nixos/nix
RUN nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
RUN nix-channel --update
# RUN nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
# RUN nix-channel --update
RUN nix-env -iA nixpkgs.cabal-install
COPY . /tmp/haskell-invaders
......@@ -10,6 +10,6 @@ RUN nix-shell -A native --run "echo native ok"
WORKDIR /root
# docker build -t juliendehos/haskell-invaders:native -f Dockerfile-native ..
# docker push juliendehos/haskell-invaders:native
# docker build -t juliendehos/cicd:haskell-invaders-native -f Dockerfile-native ..
# docker push juliendehos/cicd:haskell-invaders-native
FROM nixos/nix
RUN nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
RUN nix-channel --update
# RUN nix-channel --add https://nixos.org/channels/nixos-19.03 nixpkgs
# RUN nix-channel --update
RUN nix-env -iA nixpkgs.cabal-install
COPY . /tmp/haskell-invaders
......@@ -10,6 +10,6 @@ RUN nix-shell -A web --run "echo web ok"
WORKDIR /root
# docker build -t juliendehos/haskell-invaders:web -f Dockerfile-web ..
# docker push juliendehos/haskell-invaders:web
# docker build -t juliendehos/cicd:haskell-invaders-web -f Dockerfile-web ..
# docker push juliendehos/cicd:haskell-invaders-web
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment