This commit is contained in:
@@ -45,9 +45,6 @@ jobs:
|
|||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@@ -63,4 +60,4 @@ jobs:
|
|||||||
org.opencontainers.image.version=${{ steps.tags.outputs.version }}
|
org.opencontainers.image.version=${{ steps.tags.outputs.version }}
|
||||||
org.opencontainers.image.revision=${{ github.sha }}
|
org.opencontainers.image.revision=${{ github.sha }}
|
||||||
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Git commit used to build the published container.
|
|||||||
## Run it
|
## Run it
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker run --rm -p 8080:80 git.mancheff.com/hiyv-demo/hiyv-nginx:1.0.0
|
docker run --rm -p 8080:80 git.mancheff.com/hiyv-demo/hiyv-nginx:1.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Open <http://localhost:8080>. The health endpoint is available at
|
Open <http://localhost:8080>. The health endpoint is available at
|
||||||
@@ -29,8 +29,8 @@ The Gitea Actions workflow publishes the following tags for `v1.2.3`:
|
|||||||
- the full Git commit SHA
|
- the full Git commit SHA
|
||||||
- `latest`
|
- `latest`
|
||||||
|
|
||||||
The workflow publishes multi-platform images for `linux/amd64` and
|
The workflow publishes `linux/amd64` images to
|
||||||
`linux/arm64` to `git.mancheff.com/hiyv-demo/hiyv-nginx`.
|
`git.mancheff.com/hiyv-demo/hiyv-nginx`.
|
||||||
|
|
||||||
The repository must define two Actions secrets: `REGISTRY_USERNAME` with the
|
The repository must define two Actions secrets: `REGISTRY_USERNAME` with the
|
||||||
Gitea username and `REGISTRY_TOKEN` with a personal access token that has
|
Gitea username and `REGISTRY_TOKEN` with a personal access token that has
|
||||||
|
|||||||
Reference in New Issue
Block a user