-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update golang to v1.20.7 --------- Co-authored-by: Nathaniel van Diepen <Eeems@users.noreply.github.com>
- Loading branch information
1 parent
5f22d0d
commit 949e46f
Showing
4 changed files
with
59 additions
and
48 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 |
---|---|---|
@@ -1,18 +1,23 @@ | ||
name: build | ||
on: | ||
push: | ||
branches: | ||
- v1.x | ||
- v2.x | ||
- v3.x | ||
push: | ||
branches: | ||
- v1.x | ||
- v2.x | ||
- v3.x | ||
jobs: | ||
build: | ||
name: Publish latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v2 | ||
- name: Build and publish images | ||
run: | | ||
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u matteodelabre --password-stdin | ||
./scripts/build -p . | ||
build: | ||
name: Publish latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
repository: ghcr.io | ||
username: matteodelabre | ||
password: ${{ secrets.CR_PAT }} | ||
- name: Build and publish images | ||
run: | | ||
./scripts/build -p . |
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 |
---|---|---|
@@ -1,18 +1,19 @@ | ||
name: pr | ||
on: | ||
pull_request: | ||
branches: | ||
- v1.x | ||
- v2.x | ||
- v3.x | ||
pull_request: | ||
branches: | ||
- v1.x | ||
- v2.x | ||
- v3.x | ||
jobs: | ||
build: | ||
name: Publish latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v2 | ||
- name: Build images | ||
run: | | ||
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u matteodelabre --password-stdin | ||
./scripts/build . | ||
build: | ||
name: Publish latest | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v3 | ||
- name: Build images | ||
run: | | ||
./scripts/build . |
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 |
---|---|---|
@@ -1,17 +1,22 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
push: | ||
tags: | ||
- '*' | ||
jobs: | ||
release: | ||
name: Publish a release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v2 | ||
- name: Build and publish images | ||
run: | | ||
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u matteodelabre --password-stdin | ||
version="$(echo "${{ github.ref }}" | cut -d / -f 3)" | ||
./scripts/build -p . "$version" | ||
release: | ||
name: Publish a release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the Git repository | ||
uses: actions/checkout@v3 | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
repository: ghcr.io | ||
username: matteodelabre | ||
password: ${{ secrets.CR_PAT }} | ||
- name: Build and publish images | ||
run: | | ||
version="$(echo "${{ github.ref }}" | cut -d / -f 3)" | ||
./scripts/build -p . "$version" |
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