mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
ci: Update link to container in Docker registry
Move Gitlab docker related files to .ci folder Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
16202e6f3a
commit
c69c5f8317
@ -3,7 +3,7 @@
|
|||||||
# This is an IaC pattern called "reheating a server template".
|
# This is an IaC pattern called "reheating a server template".
|
||||||
# This is very fast but can accumulate cruft over time.
|
# This is very fast but can accumulate cruft over time.
|
||||||
# Use debian:testing if you want to build a fresh image.
|
# Use debian:testing if you want to build a fresh image.
|
||||||
FROM registry.salsa.debian.org/freedombox-team/plinth:gitlabci
|
FROM registry.salsa.debian.org/freedombox-team/freedombox:gitlabci
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
COPY . /plinth
|
COPY . /plinth
|
||||||
9
.ci/update-gitlabci-docker-image.sh
Executable file
9
.ci/update-gitlabci-docker-image.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
# Provide your Salsa credentials here
|
||||||
|
docker login registry.salsa.debian.org
|
||||||
|
|
||||||
|
# This might need 20 minutes to run
|
||||||
|
docker build -t registry.salsa.debian.org/freedombox-team/freedombox:gitlabci -f .ci/Dockerfile.gitlabci .
|
||||||
|
docker push registry.salsa.debian.org/freedombox-team/freedombox:gitlabci
|
||||||
@ -1,5 +1,5 @@
|
|||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
image: registry.salsa.debian.org/freedombox-team/plinth:gitlabci
|
image: registry.salsa.debian.org/freedombox-team/freedombox:gitlabci
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DEBIAN_FRONTEND=noninteractive
|
- export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
|
|
||||||
# Provide your Salsa credentials here
|
|
||||||
docker login registry.salsa.debian.org
|
|
||||||
|
|
||||||
# This might need 20 minutes to run
|
|
||||||
docker build -t registry.salsa.debian.org/freedombox-team/plinth:gitlabci -f Dockerfile.gitlabci .
|
|
||||||
docker push registry.salsa.debian.org/freedombox-team/plinth:gitlabci
|
|
||||||
Loading…
x
Reference in New Issue
Block a user