Skip to content

Commit f571cc8

Browse files
committed
Move over to quay
1 parent 38df26d commit f571cc8

File tree

4 files changed

+49
-40
lines changed

4 files changed

+49
-40
lines changed

.github/workflows/docker-commit.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,20 @@ jobs:
3131
- name: Set up Docker Buildx
3232
uses: docker/setup-buildx-action@v1
3333

34-
- name: Login to DockerHub
34+
- name: Login to Quay
3535
uses: docker/login-action@v1
3636
with:
37-
username: ${{ secrets.DOCKERHUB_USERNAME }}
38-
password: ${{ secrets.DOCKERHUB_TOKEN }}
37+
registry: quay.io
38+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
39+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
3940

4041
- name: Build and push
4142
id: docker
4243
uses: docker/build-push-action@v2
4344
with:
4445
push: true
4546
context: .
46-
tags: renokico/laravel-base:${{ github.sha }}-${{ matrix.base-tag }}
47+
tags: quay.io/renokico/laravel-base:${{ github.sha }}-${{ matrix.base-tag }}
4748
file: Dockerfile.fpm
4849
build-args: |
4950
BASE_TAG=${{ matrix.base-tag }}
@@ -70,19 +71,20 @@ jobs:
7071
- name: Set up Docker Buildx
7172
uses: docker/setup-buildx-action@v1
7273

73-
- name: Login to DockerHub
74+
- name: Login to Quay
7475
uses: docker/login-action@v1
7576
with:
76-
username: ${{ secrets.DOCKERHUB_USERNAME }}
77-
password: ${{ secrets.DOCKERHUB_TOKEN }}
77+
registry: quay.io
78+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
79+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
7880

7981
- name: Build and push
8082
id: docker
8183
uses: docker/build-push-action@v2
8284
with:
8385
push: true
8486
context: .
85-
tags: renokico/laravel-base:octane-${{ github.sha }}-${{ matrix.base-tag }}
87+
tags: quay.io/renokico/laravel-base:octane-${{ github.sha }}-${{ matrix.base-tag }}
8688
file: Dockerfile.octane
8789
build-args: |
8890
BASE_TAG=${{ matrix.base-tag }}
@@ -109,19 +111,20 @@ jobs:
109111
- name: Set up Docker Buildx
110112
uses: docker/setup-buildx-action@v1
111113

112-
- name: Login to DockerHub
114+
- name: Login to Quay
113115
uses: docker/login-action@v1
114116
with:
115-
username: ${{ secrets.DOCKERHUB_USERNAME }}
116-
password: ${{ secrets.DOCKERHUB_TOKEN }}
117+
registry: quay.io
118+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
119+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
117120

118121
- name: Build and push
119122
id: docker
120123
uses: docker/build-push-action@v2
121124
with:
122125
push: true
123126
context: .
124-
tags: renokico/laravel-base:worker-${{ github.sha }}-${{ matrix.base-tag }}
127+
tags: quay.io/renokico/laravel-base:worker-${{ github.sha }}-${{ matrix.base-tag }}
125128
file: Dockerfile.worker
126129
build-args: |
127130
BASE_TAG=${{ matrix.base-tag }}

.github/workflows/docker-latest-tag.yaml

+15-12
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,20 @@ jobs:
2828
- name: Set up Docker Buildx
2929
uses: docker/setup-buildx-action@v1
3030

31-
- name: Login to DockerHub
31+
- name: Login to Quay
3232
uses: docker/login-action@v1
3333
with:
34-
username: ${{ secrets.DOCKERHUB_USERNAME }}
35-
password: ${{ secrets.DOCKERHUB_TOKEN }}
34+
registry: quay.io
35+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
36+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
3637

3738
- name: Build and push
3839
id: docker
3940
uses: docker/build-push-action@v2
4041
with:
4142
push: true
4243
context: .
43-
tags: renokico/laravel-base:latest-${{ matrix.base-tag }}
44+
tags: quay.io/renokico/laravel-base:latest-${{ matrix.base-tag }}
4445
file: Dockerfile.fpm
4546
build-args: |
4647
BASE_TAG=${{ matrix.base-tag }}
@@ -67,19 +68,20 @@ jobs:
6768
- name: Set up Docker Buildx
6869
uses: docker/setup-buildx-action@v1
6970

70-
- name: Login to DockerHub
71+
- name: Login to Quay
7172
uses: docker/login-action@v1
7273
with:
73-
username: ${{ secrets.DOCKERHUB_USERNAME }}
74-
password: ${{ secrets.DOCKERHUB_TOKEN }}
74+
registry: quay.io
75+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
76+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
7577

7678
- name: Build and push
7779
id: docker
7880
uses: docker/build-push-action@v2
7981
with:
8082
push: true
8183
context: .
82-
tags: renokico/laravel-base:octane-latest-${{ matrix.base-tag }}
84+
tags: quay.io/renokico/laravel-base:octane-latest-${{ matrix.base-tag }}
8385
file: Dockerfile.octane
8486
build-args: |
8587
BASE_TAG=${{ matrix.base-tag }}
@@ -106,19 +108,20 @@ jobs:
106108
- name: Set up Docker Buildx
107109
uses: docker/setup-buildx-action@v1
108110

109-
- name: Login to DockerHub
111+
- name: Login to Quay
110112
uses: docker/login-action@v1
111113
with:
112-
username: ${{ secrets.DOCKERHUB_USERNAME }}
113-
password: ${{ secrets.DOCKERHUB_TOKEN }}
114+
registry: quay.io
115+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
116+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
114117

115118
- name: Build and push
116119
id: docker
117120
uses: docker/build-push-action@v2
118121
with:
119122
push: true
120123
context: .
121-
tags: renokico/laravel-base:worker-latest-${{ matrix.base-tag }}
124+
tags: quay.io/renokico/laravel-base:worker-latest-${{ matrix.base-tag }}
122125
file: Dockerfile.worker
123126
build-args: |
124127
BASE_TAG=${{ matrix.base-tag }}

.github/workflows/docker-release-tag.yaml

+15-12
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: docker_meta
2727
uses: docker/metadata-action@v3.4.1
2828
with:
29-
images: renokico/laravel-base
29+
images: quay.io/renokico/laravel-base
3030
tags: |
3131
type=semver,pattern={{version}}-${{ matrix.base-tag }}
3232
type=semver,pattern={{major}}.{{minor}}-${{ matrix.base-tag }}
@@ -37,11 +37,12 @@ jobs:
3737
- name: Set up Docker Buildx
3838
uses: docker/setup-buildx-action@v1
3939

40-
- name: Login to DockerHub
40+
- name: Login to Quay
4141
uses: docker/login-action@v1
4242
with:
43-
username: ${{ secrets.DOCKERHUB_USERNAME }}
44-
password: ${{ secrets.DOCKERHUB_TOKEN }}
43+
registry: quay.io
44+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
45+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
4546

4647
- name: Build and Push
4748
id: docker
@@ -75,7 +76,7 @@ jobs:
7576
id: docker_meta
7677
uses: docker/metadata-action@v3.4.1
7778
with:
78-
images: renokico/laravel-base
79+
images: quay.io/renokico/laravel-base
7980
tags: |
8081
type=semver,pattern=octane-{{version}}-${{ matrix.base-tag }}
8182
type=semver,pattern=octane-{{major}}.{{minor}}-${{ matrix.base-tag }}
@@ -86,11 +87,12 @@ jobs:
8687
- name: Set up Docker Buildx
8788
uses: docker/setup-buildx-action@v1
8889

89-
- name: Login to DockerHub
90+
- name: Login to Quay
9091
uses: docker/login-action@v1
9192
with:
92-
username: ${{ secrets.DOCKERHUB_USERNAME }}
93-
password: ${{ secrets.DOCKERHUB_TOKEN }}
93+
registry: quay.io
94+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
95+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
9496

9597
- name: Build and Push
9698
id: docker
@@ -124,7 +126,7 @@ jobs:
124126
id: docker_meta
125127
uses: docker/metadata-action@v3.4.1
126128
with:
127-
images: renokico/laravel-base
129+
images: quay.io/renokico/laravel-base
128130
tags: |
129131
type=semver,pattern=worker-{{version}}-${{ matrix.base-tag }}
130132
type=semver,pattern=worker-{{major}}.{{minor}}-${{ matrix.base-tag }}
@@ -135,11 +137,12 @@ jobs:
135137
- name: Set up Docker Buildx
136138
uses: docker/setup-buildx-action@v1
137139

138-
- name: Login to DockerHub
140+
- name: Login to Quay
139141
uses: docker/login-action@v1
140142
with:
141-
username: ${{ secrets.DOCKERHUB_USERNAME }}
142-
password: ${{ secrets.DOCKERHUB_TOKEN }}
143+
registry: quay.io
144+
username: ${{ secrets.DOCKER_REPOSITORY_USERNAME }}
145+
password: ${{ secrets.DOCKER_REPOSITORY_TOKEN }}
143146

144147
- name: Build and Push
145148
id: docker

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Already-compiled PHP-based Images to use when deploying your Laravel application
1111

1212
Images are used to deploy a [sample Laravel application](https://github.com/renoki-co/laravel-helm-demo) to Kubernetes using Helm charts for vanilla Laravel, Laravel Octane or to deploy workers such as queues.
1313

14-
For Docker & versioning examples, please check [`renokico/laravel-base` DockerHub page](https://hub.docker.com/r/renokico/laravel-base).
14+
For Docker & versioning examples, please check [`renokico/laravel-base` Quay page](https://quay.io/repository/renokico/laravel-base).
1515

1616
This project compiles images:
1717

@@ -34,7 +34,7 @@ You will sometimes get exclusive content on tips about Laravel, AWS or Kubernete
3434
Octane images are based on [a PHP-Swoole image](https://hub.docker.com/r/phpswoole/swoole) that works directly with Octane in Swoole mode.
3535

3636
```Dockerfile
37-
FROM renokico/laravel-base:octane-latest-php8.0-alpine
37+
FROM quay.io/renokico/laravel-base:octane-latest-php8.0-alpine
3838

3939
COPY . /var/www/html
4040

@@ -53,7 +53,7 @@ EXPOSE 80
5353
The PHP-FPM image contains the PHP-FPM process and will be complemented by NGINX in the Helm chart.
5454

5555
```Dockerfile
56-
FROM renokico/laravel-base:latest-8.0-fpm-alpine
56+
FROM quay.io/renokico/laravel-base:latest-8.0-fpm-alpine
5757

5858
COPY . /var/www/html
5959

@@ -68,7 +68,7 @@ WORKDIR /var/www/html
6868
Workers can be either long-running processes that serve as workers (for example, queues) or by running a local process that might also expose a HTTP server, etc. Either way, you can use a Worker to extend your project.
6969

7070
```Dockerfile
71-
FROM renokico/laravel-base:worker-latest-8.0-cli-alpine
71+
FROM quay.io/renokico/laravel-base:worker-latest-8.0-cli-alpine
7272

7373
COPY . /var/www/html
7474

0 commit comments

Comments
 (0)