File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
push :
15
15
if : (github.ref == 'refs/heads/main')
16
- environment : docker push
17
16
runs-on : ubuntu-latest
18
17
strategy :
19
18
matrix :
25
24
- uses : docker/setup-buildx-action@v3
26
25
- name : build images
27
26
run : |
28
- docker login --username ${{ vars.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
27
+ docker login --username ${{ vars.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_PASSWORD }}
29
28
docker buildx build --push --platform linux/amd64,linux/arm64 --tag ${{ env.DOCKER_REPO }}:pg${{ matrix.version }} --build-arg VERSION=${{ matrix.version }} .
30
29
if [ "${{ matrix.version }}" = "${{ env.LATEST }}" ]; then
31
30
docker buildx build --push --platform linux/amd64,linux/arm64 --tag ${{ env.DOCKER_REPO }}:latest --build-arg VERSION=${{ matrix.version }} .
You can’t perform that action at this time.
0 commit comments