mirror of https://github.com/dirtbags/moth.git
This commit is contained in:
parent
e05bc90b3a
commit
362ba11cf5
|
@ -15,12 +15,14 @@ test:
|
||||||
push:
|
push:
|
||||||
stage: push
|
stage: push
|
||||||
image:
|
image:
|
||||||
name: gcr.io/kaniko-project/executor:debug
|
name: docker:19.03.12
|
||||||
entrypoint: [""]
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
script:
|
script:
|
||||||
- mkdir -p /kaniko/.docker
|
- echo "$DOCKER_AUTH_CONFIG" > !~.docker/config.json
|
||||||
- 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
|
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
|
### Changed
|
||||||
- Many error messages were changed to start with a lower-case letter,
|
- Many error messages were changed to start with a lower-case letter,
|
||||||
in order to satisfy a new linter check.
|
in order to satisfy a new linter check.
|
||||||
|
- CI/CD moved to our Cyber Fire Gitlab instance
|
||||||
|
|
||||||
## [v4.2.2] - 2021-09-30
|
## [v4.2.2] - 2021-09-30
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -7,7 +7,7 @@ COPY example-puzzles /target/puzzles/
|
||||||
COPY LICENSE.md /target/
|
COPY LICENSE.md /target/
|
||||||
RUN mkdir -p /target/state
|
RUN mkdir -p /target/state
|
||||||
WORKDIR /src/
|
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
|
# I can't use /target/bin: doing so would cause the devel server to overwrite Ubuntu's /bin
|
||||||
|
|
||||||
##########
|
##########
|
||||||
|
|
Loading…
Reference in New Issue