Skip to content

Commit

Permalink
Updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsager committed Apr 28, 2024
1 parent 4110dce commit 8a688d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ">=1.19.0"
go-version: ">=1.22.0"

- name: Build
run: make build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
IMAGE_NAME: ghcr.io/thorsager/surl

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:latest
echo "tags=${IMAGE_NAME}:latest" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:${GITHUB_REF##*/}
echo "tags=${IMAGE_NAME}:${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
- name: Prepare
id: prep
run: |
echo ::set-output name=tags::${IMAGE_NAME}:${GITHUB_REF/refs\/tags\//}
echo "tags=${IMAGE_NAME}:${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
Expand Down

0 comments on commit 8a688d7

Please sign in to comment.