Compare commits
2 Commits
v1.2.0-RC2
...
v1.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bd02fba06 | ||
|
|
97e1214f68 |
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -12,10 +12,6 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v1 # Action page: <https://github.com/docker/setup-buildx-action>
|
|
||||||
id: buildx
|
|
||||||
|
|
||||||
- name: Docker login in default registry
|
- name: Docker login in default registry
|
||||||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin &> /dev/null
|
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin &> /dev/null
|
||||||
|
|
||||||
@@ -28,11 +24,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker build \
|
||||||
--platform ${{ steps.buildx.outputs.platforms }} \
|
|
||||||
--tag "tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
--tag "tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
||||||
--tag "tarampampam/3proxy:latest" \
|
--tag "tarampampam/3proxy:latest" \
|
||||||
--tag "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
--tag "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" \
|
||||||
--tag "ghcr.io/tarampampam/3proxy:latest" \
|
--tag "ghcr.io/tarampampam/3proxy:latest" \
|
||||||
--push \
|
-f ./Dockerfile .
|
||||||
.
|
|
||||||
|
- name: Push into default registry
|
||||||
|
run: docker push "tarampampam/3proxy:${{ steps.tag.outputs.value }}" && docker push "tarampampam/3proxy:latest"
|
||||||
|
|
||||||
|
- name: Push into ghcr.io
|
||||||
|
run: docker push "ghcr.io/tarampampam/3proxy:${{ steps.tag.outputs.value }}" && docker push "ghcr.io/tarampampam/3proxy:latest"
|
||||||
|
|||||||
@@ -58,6 +58,14 @@ $ docker run --rm -d \
|
|||||||
tarampampam/3proxy:latest
|
tarampampam/3proxy:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Releasing
|
||||||
|
|
||||||
|
New versions publishing is very simple - just make required changes in this repository, update [changelog file](CHANGELOG.md) and "publish" new release using repo releases page.
|
||||||
|
|
||||||
|
Docker images will be build and published automatically.
|
||||||
|
|
||||||
|
> New release will overwrite the `latest` docker image tag in both registers.
|
||||||
|
|
||||||
## Changes log
|
## Changes log
|
||||||
|
|
||||||
[![Release date][badge_release_date]][link_releases]
|
[![Release date][badge_release_date]][link_releases]
|
||||||
|
|||||||
Reference in New Issue
Block a user