Skip to content

Commit

Permalink
Merge pull request #18 from ekreative/actions
Browse files Browse the repository at this point in the history
chore: upgrade actions
  • Loading branch information
mcfedr authored May 13, 2024
2 parents 627e72c + 8fee935 commit 1cab5a7
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit 1cab5a7

Please sign in to comment.