This repository was archived by the owner on Nov 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Deploy Queue Processor"
2+ on :
3+ workflow_dispatch : # Allows workflow to be triggered manually
4+
5+ jobs :
6+ build-and-push-qp :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v3
11+
12+ - name : Get current date
13+ id : date
14+ run : echo "::set-output name=date::$(date +'%Y-%m-%dT%H%M')"
15+
16+ - name : Set up QEMU
17+ uses : docker/setup-qemu-action@v2
18+
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v2
21+
22+ - name : Login to GitHub Container Registry
23+ uses : docker/login-action@v2
24+ with :
25+ registry : ghcr.io
26+ username : ${{ github.actor }}
27+ password : ${{ secrets.GITHUB_TOKEN }}
28+
29+ - name : Build and push
30+ uses : docker/build-push-action@v3
31+ with :
32+ context : .
33+ file : container/qp_py38.Dockerfile
34+ push : true
35+ tags : |
36+ ghcr.io/autoreduction/autoreduce:latest
37+ ghcr.io/autoreduction/autoreduce:${{ steps.date.outputs.date }}
38+ cache-from : type=registry,ref=ghcr.io/autoreduction/autoreduce:${{ matrix.deployment }}
39+ cache-to : type=inline
You can’t perform that action at this time.
0 commit comments