Skip to content

Commit

Permalink
Use major version of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Nov 6, 2020
1 parent 1d7b1d5 commit 19fe328
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
uses: actions/checkout@v2
-
name: Docker Build
run: |
Expand All @@ -33,14 +33,14 @@ jobs:
-
name: Login to DockerHub
if: startsWith(github.ref, 'refs/tags/base-')
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
uses: actions/checkout@v2
-
name: Prepare
id: prep
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-1.14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
uses: actions/checkout@v2
-
name: Get Latest
run: |
Expand All @@ -56,14 +56,14 @@ jobs:
-
name: Login to DockerHub
if: startsWith(github.ref, 'refs/tags/go-1.14-')
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Login to GHCR
if: startsWith(github.ref, 'refs/tags/go-1.14-')
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-1.15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
uses: actions/checkout@v2
-
name: Get Latest
run: |
Expand All @@ -50,14 +50,14 @@ jobs:
-
name: Login to DockerHub
if: startsWith(github.ref, 'refs/tags/go-1.15-')
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Login to GHCR
if: startsWith(github.ref, 'refs/tags/go-1.15-')
uses: docker/login-action@v1.6.0
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GHCR_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2.3.3
uses: actions/checkout@v2
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v3.1.0
uses: crazy-max/ghaction-github-labeler@v3

0 comments on commit 19fe328

Please sign in to comment.