@@ -32,22 +32,10 @@ jobs:
3232 run : |
3333 version=$(grep '^version' oxybox/Cargo.toml | head -n 1 | cut -d '"' -f2)
3434 echo "version=$version" >> $GITHUB_OUTPUT
35- - uses : ./.github/actions/docker
36- name : Build docker image
37- with :
38- username : ${{ secrets.BASEFLOW_ACR_USERNAME }}
39- password : ${{ secrets.BASEFLOW_ACR_PASSWORD }}
40- push : ${{ github.event_name != 'pull_request' }}
41- vulnerability_scan : ${{ github.event_name != 'pull_request' }}
42- version : ${{ steps.get_version.outputs.version }}
43- context : ./oxybox
4435 - uses : ./.github/actions/docker
4536 if : github.ref == 'refs/heads/main'
4637 name : Build docker image to docker hub
4738 with :
48- username : ${{ secrets.DOCKER_HUB_USERNAME }}
49- password : ${{ secrets.DOCKER_HUB_PASSWORD }}
50- registry : registry-1.docker.io
5139 repository : baseflow/oxybox
5240 push : ${{ github.event_name != 'pull_request' }}
5341 vulnerability_scan : ${{ github.event_name != 'pull_request' }}
5745 if : github.ref == 'refs/heads/main'
5846 name : Build docker image to docker hub
5947 with :
60- username : ${{ secrets.DOCKER_HUB_USERNAME }}
61- password : ${{ secrets.DOCKER_HUB_PASSWORD }}
62- registry : registry-1.docker.io
6348 push : ${{ github.event_name != 'pull_request' }}
6449 repository : baseflow/oxybox
6550 vulnerability_scan : ${{ github.event_name != 'pull_request' }}
0 commit comments