We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de36fd0 commit 10340e9Copy full SHA for 10340e9
.github/workflows/docker.yaml
@@ -0,0 +1,31 @@
1
+name: Docker
2
+on:
3
+ pull_request: {}
4
+ push:
5
+ tags:
6
+ - "*"
7
+
8
+jobs:
9
+ docker:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 10
12
+ permissions:
13
+ contents: read
14
+ packages: write
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ # Needed to fetch tags, used by Python install process to
20
+ # figure out version number
21
+ fetch-depth: 0
22
23
+ - uses: lsst-sqre/build-and-push-to-ghcr@v1
24
+ id: build
25
26
+ image: "lsst/ppdb-replication"
27
+ dockerfile: "docker/Dockerfile.replication"
28
+ github_token: ${{ secrets.GITHUB_TOKEN }}
29
+ push: true
30
31
+ - run: echo Pushed ghcr.io/lsst/ppdb-replication:${{ steps.build.outputs.tag }}
0 commit comments