imfreedom/www.imfreedom.org

Update everything for Discourse

16 months ago, Gary Kramlich
a4501b4f5c1e
Update everything for Discourse

This includes saying that we shutdown the mailing lists which we haven't
actually done yet, but I don't want to have to come back and make another commit
when we do.

Testing Done:
Ran locally via `npm run hugo:server`

Reviewed at https://reviews.imfreedom.org/r/2153/
environment:
- REPO=imfreedom/www
- TAG=latest
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
- REGISTRY=docker.io
tasks:
import:
type: docker/import
files: .:.
build:
type: docker/build
dockerfile: Dockerfile
tag: ${REGISTRY}/${REPO}:${TAG}
files: .
push:
type: docker/push
image: ${REGISTRY}/${REPO}:${TAG}
clean:
type: docker/remove
quiet: true
image: ${REGISTRY}/${REPO}:${TAG}
login:
type: docker/login
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_PASSWORD}
server: ${REGISTRY}
logout:
type: docker/logout
server: ${REGISTRY}
plans:
default:
stages:
- tasks: [import, build]
publish:
stages:
- tasks: [push]
cicd:
stages:
- name: build
tasks: [import, build]
- name: publish
tasks: [login, push]
- name: cleanup
tasks: [logout, clean]
run: always
clean:
stages:
- tasks: clean