Skip to content

Commit

Permalink
revive
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Apr 26, 2024
1 parent 4346263 commit 051a4b7
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.md
*.txt
.github
.gitignore
62 changes: 62 additions & 0 deletions .github/workflows/imaging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# ProxyCrypt Imaging
# ==================
#
# This workflow builds and registers images of ProxyCrypt.

---

name: 🔑🌁 ProxyCrypt Imaging


# Triggers
# --------
#
# Run on any push to the docker or etc subdirs.

on:
push:
branches:
- main
paths:
- 'docker/**'
- 'etc/**'


# Jobs
# ----
#
# What to do.

jobs:
imaging:
name: 🏞 Imaging
runs-on: ubuntu-latest
steps:
-
name: 💳 Docker Hub Identification
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKERHUB_USERNAME}}
password: ${{secrets.DOCKERHUB_TOKEN}}
-
name: 📚 Repository Checkout
uses: actions/checkout@v4
-
name: 🎰 QEMU Multiple Machine Emulation
uses: docker/setup-qemu-action@v3
-
name: 🚢 Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: 🧱 Image Construction and Publication
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ${{secrets.DOCKERHUB_USERNAME}}/proxycrypt:latest

...

# -*- mode: YAML; tab-width: 4 -*-
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
*.sublime-workspace
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ To build the ProxyCrypt image, run:

docker image build --tag edrndocker/proxycrypt --file docker/Dockerfile .

Or just make a push to `main` and let Github Actions handle it.

To run it, put it in your Docker Composition/Swarm/etc., and set these environment variables as needed:

| Variable | Use | Default |
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Simple image based on Nginx and Alpine: ProxyCrypt adds OpenSSL and some custom configuration.
#
# Copyright © 2023, California Institute of Technology ("Caltech").
# Copyright © 2023–2024, California Institute of Technology ("Caltech").
# U.S. Government sponsorship acknowledged.
#
# All rights reserved.
Expand Down

0 comments on commit 051a4b7

Please sign in to comment.