-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed build-&-publish-docker-image.yml
- Loading branch information
1 parent
13218cf
commit bb4a3ab
Showing
1 changed file
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,10 +42,10 @@ jobs: | |
echo "BRANCH=$([ -z '${{ github.event.pull_request.head.sha }}' ] && echo ${GITHUB_REF#refs/*/} || echo $GITHUB_HEAD_REF)" >> $GITHUB_ENV | ||
echo "SHA=$([ -z '${{ github.event.pull_request.head.sha }}' ] && echo $GITHUB_SHA || echo '${{ github.event.pull_request.head.sha }}')" >> $GITHUB_ENV | ||
- name: Setup go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ^1.21 # The Go version to download (if necessary) and use. | ||
# - name: Setup go | ||
# uses: actions/setup-go@v4 | ||
# with: | ||
# go-version: ^1.21 # The Go version to download (if necessary) and use. | ||
|
||
- name: Clone blobber | ||
uses: actions/checkout@v3 | ||
|
@@ -55,15 +55,15 @@ jobs: | |
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
# - name: Login to Docker Hub | ||
# uses: docker/login-action@v1 | ||
# with: | ||
# username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
# password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: Get changed files using defaults | ||
id: changed-files | ||
uses: tj-actions/[email protected] | ||
# - name: Get changed files using defaults | ||
# id: changed-files | ||
# uses: tj-actions/[email protected] | ||
|
||
- name: Pull Build Base | ||
run: | | ||
|
@@ -118,10 +118,10 @@ jobs: | |
echo "BRANCH=$([ -z '${{ github.event.pull_request.head.sha }}' ] && echo ${GITHUB_REF#refs/*/} || echo $GITHUB_HEAD_REF)" >> $GITHUB_ENV | ||
echo "SHA=$([ -z '${{ github.event.pull_request.head.sha }}' ] && echo $GITHUB_SHA || echo '${{ github.event.pull_request.head.sha }}')" >> $GITHUB_ENV | ||
- name: Setup go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ^1.21 # The Go version to download (if necessary) and use. | ||
# - name: Setup go | ||
# uses: actions/setup-go@v4 | ||
# with: | ||
# go-version: ^1.21 # The Go version to download (if necessary) and use. | ||
|
||
- name: Clone blobber | ||
uses: actions/checkout@v3 | ||
|
@@ -136,11 +136,11 @@ jobs: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
|
||
- name: Get changed files using defaults | ||
id: changed-files | ||
uses: tj-actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
# - name: Get changed files using defaults | ||
# id: changed-files | ||
# uses: tj-actions/[email protected] | ||
# with: | ||
# fetch-depth: 0 | ||
|
||
- name: Pull Build Base | ||
run: | | ||
|