mirror of https://github.com/dirtbags/moth.git
This commit is contained in:
parent
e05bc90b3a
commit
362ba11cf5
|
@ -15,12 +15,14 @@ test:
|
|||
push:
|
||||
stage: push
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
name: docker:19.03.12
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
script:
|
||||
- mkdir -p /kaniko/.docker
|
||||
- echo "$DOCKER_AUTH_CONFIG" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/build/package/Containerfile --destination ghcr.io/dirtbags/moth:$CI_COMMIT_REF_SLUG
|
||||
- echo "$DOCKER_AUTH_CONFIG" > !~.docker/config.json
|
||||
- >
|
||||
docker build
|
||||
--tag ghcr.io/dirtbags/moth:$CI_COMMIT_REF_SLUG
|
||||
--file build/package/Containerfile
|
||||
.
|
||||
|
|
|
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Changed
|
||||
- Many error messages were changed to start with a lower-case letter,
|
||||
in order to satisfy a new linter check.
|
||||
- CI/CD moved to our Cyber Fire Gitlab instance
|
||||
|
||||
## [v4.2.2] - 2021-09-30
|
||||
### Added
|
||||
|
|
|
@ -7,7 +7,7 @@ COPY example-puzzles /target/puzzles/
|
|||
COPY LICENSE.md /target/
|
||||
RUN mkdir -p /target/state
|
||||
WORKDIR /src/
|
||||
RUN CGO_ENABLED=0 GOOS=linux go install -i -a -ldflags '-extldflags "-static"' ./...
|
||||
RUN CGO_ENABLED=0 GOOS=linux go install -a -ldflags '-extldflags "-static"' ./...
|
||||
# I can't use /target/bin: doing so would cause the devel server to overwrite Ubuntu's /bin
|
||||
|
||||
##########
|
||||
|
|
Loading…
Reference in New Issue