File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 2424 # IMAGE_NAME: ${{ github.repository }}
2525 IMAGE_NAME : justcoded/docsify_test
2626
27-
2827jobs :
2928 build :
3029 runs-on : ubuntu-latest
4645 - name : Checkout repository
4746 uses : actions/checkout@v3
4847
49- # Install the cosign tool except on PR
50- # https://github.com/sigstore/cosign-installer
51- - name : Install cosign
52- if : github.event_name != 'pull_request'
53- uses : sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 # v3.1.1
54- with :
55- cosign-release : ' v2.1.1'
56-
5748 # Set up BuildKit Docker container builder to be able to build
5849 # multi-platform images and export cache
5950 # https://github.com/docker/setup-buildx-action
7061 username : ${{ github.actor }}
7162 password : ${{ secrets.GITHUB_TOKEN }}
7263
64+ - name : Build and push
65+ uses : docker/build-push-action@v5
66+ with :
67+ push : true
68+ tags : ${{ steps.extract_branch.outputs.branch }}
69+
70+
7371 # Extract metadata (tags, labels) for Docker
7472 # https://github.com/docker/metadata-action
7573 - name : Extract Docker metadata
You can’t perform that action at this time.
0 commit comments