Skip to content

Commit 016c713

Browse files
authored
Remove cd duplicate login (alexjustesen#207)
1 parent 69bbe60 commit 016c713

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.github/workflows/cd-docker-hub.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
types: [ published ]
1717

1818
env:
19+
REGISTRY: ajustesen
1920
IMAGE_NAME: ${{ github.repository }}
2021
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
2122

@@ -36,29 +37,23 @@ jobs:
3637
- name: Set up Docker Buildx
3738
uses: docker/setup-buildx-action@v2
3839

39-
- name: Log in to the Container registry
40+
- name: Log in to Docker Hub
4041
uses: docker/login-action@v2
4142
with:
42-
registry: ${{ env.REGISTRY }}
43-
username: ${{ github.actor }}
44-
password: ${{ secrets.GITHUB_TOKEN }}
43+
username: ${{ secrets.DOCKER_USERNAME }}
44+
password: ${{ secrets.DOCKER_PASSWORD }}
4545

4646
- name: Extract metadata (tags, labels) for Docker
4747
id: meta
4848
uses: docker/metadata-action@v4
4949
with:
50-
images: ajustesen/${{ env.IMAGE_NAME }}
51-
52-
- name: Log in to Docker Hub
53-
uses: docker/login-action@v2
54-
with:
55-
username: ${{ secrets.DOCKER_USERNAME }}
56-
password: ${{ secrets.DOCKER_PASSWORD }}
50+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5751

5852
- name: Build and push image to Docker Hub
5953
uses: docker/build-push-action@v3
6054
with:
6155
context: .
6256
push: true
57+
platforms: ${{ env.PLATFORMS }}
6358
tags: ${{ steps.meta.outputs.tags }}
6459
labels: ${{ steps.meta.outputs.labels }}

app/Providers/FilamentServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function boot()
3232
return true;
3333
});
3434

35-
FilamentVersions::addItem('Speedtest Tracker', 'v0.6.1');
35+
FilamentVersions::addItem('Speedtest Tracker', 'v0.6.2');
3636

3737
Filament::serving(function () {
3838
Filament::registerNavigationGroups([

0 commit comments

Comments
 (0)