Attempt at #1 #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 | |
| - issue/** | |
| 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@v6 | |
| - | |
| 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@v6 | |
| with: | |
| context: . | |
| file: docker/Dockerfile | |
| platforms: linux/amd64,linux/arm64/v8 | |
| push: true | |
| tags: ${{secrets.DOCKERHUB_USERNAME}}/proxycrypt:latest | |
| ... | |
| # -*- mode: YAML; tab-width: 4 -*- |