Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-pg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
docker-pg
Commits
9e4f3c6c
Verified
Commit
9e4f3c6c
authored
3 years ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#7484
failed
3 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+19
-0
19 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+4
-0
4 additions, 0 deletions
Dockerfile
with
23 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
19
−
0
View file @
9e4f3c6c
image
:
docker:20.10.9
variables
:
DOCKER_TLS_CERTDIR
:
"
/certs"
services
:
-
docker:20.10.9-dind
before_script
:
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build
:
stage
:
build
script
:
-
VERSION=`head -n 1 Dockerfile | cut -d
:
-f 2`
-
docker pull $CI_REGISTRY_IMAGE:latest ||
true
-
docker build --cache-from $CI_REGISTRY_IMAGE:latest --tag $CI_REGISTRY_IMAGE:$VERSION --tag $CI_REGISTRY_IMAGE:latest .
-
docker push $CI_REGISTRY_IMAGE:$VERSION
-
docker push $CI_REGISTRY_IMAGE:latest
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
4
−
0
View file @
9e4f3c6c
FROM
postgres:13
MAINTAINER
Andrej Ramašeuski <andrej.ramaseuski@pirati.cz>
RUN
localedef
-i
cs_CZ
-c
-f
UTF-8
-A
/usr/share/locale/locale.alias cs_CZ.UTF-8
ENV
LANG cs_CZ.utf8
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment