Skip to content

Commit

Permalink
github: workflows: Update Docker actions
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed May 26, 2022
1 parent 48fc032 commit 30f74d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Expand Up @@ -25,11 +25,11 @@ jobs:
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to GitHub Container Registry
if: ${{ github.repository_owner == 'ClangBuiltLinux' && github.event_name != 'pull_request' && github.ref_name == 'main' }}
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -40,7 +40,7 @@ jobs:
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M')"

- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./${{ matrix.image }}
file: ./${{ matrix.image }}/Dockerfile
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/llvm-project-epoch-one.yml
Expand Up @@ -11,16 +11,16 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: ${{ github.repository_owner == 'ClangBuiltLinux' && github.event_name != 'pull_request' && github.ref_name == 'main' }}
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./llvm-project
file: ./llvm-project/Dockerfile.epoch1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/llvm-project-epoch-two.yml
Expand Up @@ -11,16 +11,16 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: ${{ github.repository_owner == 'ClangBuiltLinux' && github.event_name != 'pull_request' && github.ref_name == 'main' }}
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./llvm-project
file: ./llvm-project/Dockerfile.epoch2
Expand Down

0 comments on commit 30f74d6

Please sign in to comment.