Skip to content

Commit

Permalink
move to github, switch to caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Nov 11, 2024
1 parent b485f8e commit 47b6985
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on: [push, workflow_dispatch]
jobs:
cicd:
# https://github.com/internetarchive/cicd
uses: internetarchive/cicd/.github/workflows/cicd.yml@main
with:
NOMAD_VAR_PORTS: '{ 80 = "http" }'
NOMAD_VAR_HOSTNAMES: '["podman"]'
PLATFORMS: 'linux/amd64,linux/arm64'
secrets:
NOMAD_TOKEN_EXT: ${{ secrets.NOMAD_TOKEN_EXT }}
5 changes: 0 additions & 5 deletions .gitlab-ci.yml

This file was deleted.

7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
FROM python:3-alpine
FROM caddy:alpine

WORKDIR /app
WORKDIR /usr/share/caddy/
COPY . .

# basic/minimal webserver
CMD python3 -m http.server 5000
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ A Containers focused discussion on improved security techniques.

## Slides for talk:

https://podman.dev.archive.org
https://podman.ext.archive.org

0 comments on commit 47b6985

Please sign in to comment.