Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test gh actions modules updates #528

Merged
merged 3 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/prod-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: /tmp/.buildx-cache
# Key is named differently to avoid collision
Expand All @@ -48,7 +48,7 @@ jobs:
${{ runner.os }}-${{ env.ENV }}-buildx

- name: Log in to dockerhub
uses: docker/login-action@v1
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}
Expand All @@ -65,7 +65,7 @@ jobs:
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5.5.1
with:
images: aeternity/dex-ui
tags: |
Expand All @@ -79,7 +79,7 @@ jobs:
if: |
github.event_name == 'push' ||
startsWith(github.ref, 'refs/tags/v')
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6.7.0
with:
context: .
file: Dockerfile
Expand All @@ -101,7 +101,7 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: aeternity/gitops-apps-aelabs.git
ref: prd
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/staging-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
name: Web build docker
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -30,7 +30,7 @@ jobs:
install: true

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v4.0.2
with:
path: /tmp/.buildx-cache
# Key is named differently to avoid collision
Expand All @@ -39,15 +39,15 @@ jobs:
${{ runner.os }}-${{ env.ENV }}-buildx

- name: Log in to dockerhub
uses: docker/login-action@v1
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASS }}

- name: Extract metadata for docker
if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize'
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5.5.1
with:
images: aeternity/dex-ui
tags: |
Expand All @@ -64,7 +64,7 @@ jobs:

- name: Build and push docker image
if: github.event_name == 'pull_request' && github.event.action == 'opened' || github.event.action == 'synchronize'
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6.7.0
with:
context: .
file: Dockerfile
Expand All @@ -86,7 +86,7 @@ jobs:
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.7
with:
repository: aeternity/gitops-apps-aelabs
token: ${{ secrets.BOT_GITHUB_TOKEN }}
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
app: ${{ env.APP }}

- name: Print PR url
uses: unsplash/[email protected].0
uses: unsplash/[email protected].1
if: github.event_name == 'pull_request' && github.event.action == 'opened'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading