Project website + use Apalis crate for task queue (with redis backend)
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful
instead channel and semaphore queue + upgrade to rust 1.99
This commit is contained in:
1 parent
c546707f72
commit
d74db2096c
23 files changed
+1234
-183
No files matched your search
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
IMAGE="docker.io/tintounn/steep-website"
|
||||
|
||||
if [ -z "${CI_COMMIT_TAG:-}" ]; then
|
||||
echo "Error: CI_COMMIT_TAG is not set" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TAG="${CI_COMMIT_TAG}"
|
||||
IMAGE_REF="${IMAGE}:${TAG}"
|
||||
|
||||
echo "Building ${IMAGE_REF}..."
|
||||
buildah build \
|
||||
--file public/Containerfile \
|
||||
--tag "${IMAGE_REF}" \
|
||||
public
|
||||
|
||||
echo "Pushing ${IMAGE_REF}..."
|
||||
buildah push "${IMAGE_REF}"
|
||||
|
||||
echo "Done: ${IMAGE_REF}"
|
||||
Reference in new issue
Block a user