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

chore: upgrade actions #18

Merged
merged 1 commit into from
May 13, 2024
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
needs: [checks-hadolint, checks-shfmt, checks-shellcheck, checks-update]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check Exists
id: check-dir
Expand All @@ -92,18 +92,18 @@ jobs:

- name: Set up Docker Buildx
if: steps.check-dir.outputs.skipdir != 'true'
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Login to GAR
if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: europe-west1-docker.pkg.dev
username: _json_key
Expand All @@ -112,7 +112,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
if: steps.check-dir.outputs.skipdir != 'true'
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ekreative/android
Expand All @@ -136,7 +136,7 @@ jobs:

- name: Build and push Docker image
if: steps.check-dir.outputs.skipdir != 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ${{ matrix.version }}${{ matrix.variant }}
push: ${{ github.ref == 'refs/heads/main' }}
Expand Down
Loading