Skip to content

Commit

Permalink
More actions version updates
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelreiswildlife committed Jul 21, 2023
1 parent f7301a4 commit a571916
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
slave3-port: 5005
- id: go-cache-paths
run: |
echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v3
- name: Go Build Cache
uses: actions/cache@v3
Expand Down Expand Up @@ -75,8 +75,8 @@ jobs:
# slave3-port: 5005
# - id: go-cache-paths
# run: |
# echo "name=go-build" >> $GITHUB_OUTPUT
# echo "name=go-mod" >> $GITHUB_OUTPUT
# echo "go-build=$(go env GOCACHE)" >> "$GITHUB_OUTPUT"
# echo "go-mod=$(go env GOMODCACHE)" >> "$GITHUB_OUTPUT"
# - uses: actions/checkout@v3
# - name: Go Build Cache
# uses: actions/cache@v3
Expand Down Expand Up @@ -128,24 +128,24 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Build and push tag
id: docker_build_tag
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./
file: ./build/Dockerfile
push: true
tags: tfgco/podium:${{ env.VERSION }}
- name: Build and push latest
id: docker_build_latest
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: ./
file: ./build/Dockerfile
Expand All @@ -169,13 +169,13 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Build and push tag
id: docker_build_tag
uses: docker/build-push-action@v4
Expand Down

0 comments on commit a571916

Please sign in to comment.