Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
ea2bbe3
add mailx to dockerfile
Akruidenberg Aug 2, 2020
bb2f558
Merge pull request #20 from Akruidenberg/patch-1
aieu Aug 4, 2020
2d1de39
libtorrent-rasterbar: 1.2.8
aieu Aug 4, 2020
b0e295e
qbittorrent: libtorrent-rasterbar 1.2.8
aieu Aug 5, 2020
3f030d3
v2ray: 4.27.0
aieu Aug 7, 2020
21a272c
libtorrent-rasterbar: 1.2.9 && qbittorrent: rebuild
aieu Aug 20, 2020
d6673e5
v2ray: 4.27.4
aieu Aug 29, 2020
52de682
v2ray: 4.27.5
aieu Sep 2, 2020
e3888f6
libtorrent-rasterbar: 1.2.10
aieu Sep 3, 2020
432060a
trojan-go: 0.8.2
aieu Sep 6, 2020
0f07a49
v2ray: 4.28.0
aieu Sep 11, 2020
4e15065
v2ray: 4.28.1
aieu Sep 12, 2020
3eab37a
shadowsocks-libev: 3.3.5
aieu Sep 15, 2020
6734ccc
libev+v2ray update
aieu Sep 15, 2020
bbc6973
v2ray: 4.28.2
aieu Sep 18, 2020
1bdc5b2
frp: 0.34.0
aieu Sep 19, 2020
a1ec1ad
docker-compose: 1.27.3
aieu Sep 22, 2020
fa0e002
Merge branch 'master' of github.com:vgist/dockerfiles into master
aieu Sep 22, 2020
d2c6e43
v2ray: 4.29.0
aieu Sep 25, 2020
13a1a80
Create LICENSE.md
aieu Sep 26, 2020
40123db
php: 7.3.22
aieu Sep 26, 2020
b1cccc8
Merge branch 'master' of github.com:vgist/dockerfiles
aieu Sep 26, 2020
706a0e6
frp: 0.34.1
aieu Sep 30, 2020
6fc2d5f
v2ray: v4.30.0
aieu Oct 1, 2020
2af587e
v2ray: v4.31.0
aieu Oct 9, 2020
0dc529a
php: add php7-tokenizer
aieu Oct 15, 2020
08d8b58
v2ray: 4.31.1
aieu Oct 16, 2020
0990a1f
v2ray: v4.31.2
aieu Oct 18, 2020
e0aac68
php: 7.3.23 and add composer
aieu Oct 22, 2020
abd61e8
v2ray: v4.31.3
aieu Oct 23, 2020
134e02e
docker-compose: 1.27.4
aieu Oct 23, 2020
ea8b862
mpd: update
aieu Oct 24, 2020
c755378
v2ray: 4.32.0
aieu Oct 30, 2020
77f3157
Update libtorrent-rasterbar and qbittorrent
aieu Nov 6, 2020
7e08cdc
frp: 0.34.2
aieu Nov 6, 2020
e604629
v2ray: 4.32.1
aieu Nov 6, 2020
199c3e4
qbittorrent: QBT_VER_STATUS should be empty
aieu Nov 7, 2020
48b74a8
frp: update workflow
aieu Nov 7, 2020
332f797
v2ray: update workflow
aieu Nov 7, 2020
40bc24d
v2ray-plugin: update workflow
aieu Nov 7, 2020
0326d6d
trojan: update workflow
aieu Nov 7, 2020
54ae88c
trojan: update workflow
aieu Nov 7, 2020
6ade3c7
trojan-go: update workflow
aieu Nov 7, 2020
5bae069
transmission: update workflow
aieu Nov 7, 2020
ab2c39b
speedtest-cli: update workflow
aieu Nov 7, 2020
47112bc
shadowsocks-libev: update workflow
aieu Nov 7, 2020
9ef79dd
smartmontools: update workflow
aieu Nov 7, 2020
d2354ad
samba-server: update workflow
aieu Nov 7, 2020
c020f49
rutorrent: update workflow
aieu Nov 7, 2020
0c97d37
shadowsocks:v2ray-plugin update workflow
aieu Nov 7, 2020
33280e7
rsync: update workflow
aieu Nov 7, 2020
48debc8
pure-ftpd: update workflow
aieu Nov 7, 2020
097ea01
docker-compose-bin: update workflow
aieu Nov 7, 2020
923b82b
haproxy: update workflow
aieu Nov 7, 2020
cb40aff
mariadb: update workflow
aieu Nov 7, 2020
0c1e625
mpd: update workflow
aieu Nov 7, 2020
04781dd
nfs-server: update workflow
aieu Nov 7, 2020
7468dd8
php: update workflow
aieu Nov 7, 2020
5732ea6
pptpd: update workflow
aieu Nov 7, 2020
a092b8c
qbittorrent: update workflow
aieu Nov 7, 2020
9c6ab6a
jekyll: update workflow
aieu Nov 7, 2020
79c9e7a
dnsmasq: update workflow
aieu Nov 7, 2020
f6a5aae
dnscrypt-proxy: update workflow
aieu Nov 7, 2020
92b97b2
dnscrypt-wrapper: update workflow
aieu Nov 7, 2020
026a5ba
lighttpd: update workflow
aieu Nov 7, 2020
4c56a54
libtorrent-rasterbar: 2.0.1
aieu Nov 16, 2020
93cfc04
frp: 0.34.3
aieu Nov 20, 2020
0c734f4
v2ray: 4.33.0
aieu Nov 20, 2020
22fc1a7
v2ray: v4.33.1
aieu Nov 26, 2020
6e10ab1
qbittorrent: 4.3.1
aieu Nov 30, 2020
30ce05f
Revert "v2ray: v4.33.1"
aieu Dec 9, 2020
5316c22
v2ray: update Dockerfile
aieu Dec 9, 2020
d30dfcd
xray: add, version 1.1.3
aieu Dec 13, 2020
d9addd1
libtorrent-rasterbar: update download url
aieu Dec 14, 2020
523ce6c
update shadowsockss-libev download url
aieu Dec 14, 2020
a19fda1
xray: 1.1.5
aieu Dec 28, 2020
53d86d2
xray: 1.2.0
aieu Jan 2, 2021
b685481
v2ray: 4.34.0
aieu Jan 4, 2021
272aa2f
Update README.md
mli-ntnx Jan 5, 2021
892d284
qbittorrent: 4.3.2
aieu Jan 6, 2021
7100889
Merge pull request #23 from mayli/patch-1
aieu Jan 6, 2021
310de5b
libtorrent-rasterbar: 2.0.2
aieu Jan 8, 2021
707c3d7
xray: 1.2.1
aieu Jan 10, 2021
3dc2b84
xray: 1.2.2
aieu Jan 16, 2021
5793358
frp: 0.35.0
aieu Jan 20, 2021
2a6444d
qbittorrent: 4.3.3
aieu Jan 21, 2021
060b67e
xray: 1.2.3
aieu Jan 23, 2021
2d785a8
frp: 0.35.1
aieu Jan 25, 2021
76863af
base on alpine 3.13
aieu Jan 28, 2021
f9b93ea
php7-fpm: 7.4.14
aieu Jan 28, 2021
0076875
dnscrypt-proxy: 2.0.45
aieu Jan 28, 2021
14e731f
dnsmasq: 2.84
aieu Jan 28, 2021
c2df40a
docker-compose-bin: 1.28.2
aieu Jan 28, 2021
e68ce25
haproxy: 2.2.7
aieu Jan 28, 2021
791267b
lighttpd: 1.4.57
aieu Jan 28, 2021
1f97097
mariadb: 10.5.8
aieu Jan 28, 2021
2aa8934
mpd: 0.22.3
aieu Jan 28, 2021
8152379
nfs-utils: 2.5.2
aieu Jan 28, 2021
5a781f9
rsync: 3.2.3
aieu Jan 28, 2021
77ffe87
samba-server: 4.13.3
aieu Jan 28, 2021
5a9e1da
smartmontools: 7.2
aieu Jan 28, 2021
43b889e
rutorrent: copy error
aieu Jan 28, 2021
49dfd7f
xray: 1.2.4
aieu Feb 1, 2021
1d03c04
xray: 1.3.0
aieu Feb 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 26 additions & 25 deletions .github/workflows/dnscrypt-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=2.0.42
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--tag gists/dnscrypt-proxy:latest \
--tag gists/dnscrypt-proxy:${VERSION} \
--file ./dnscrypt/proxy/Dockerfile \
./dnscrypt/proxy
[[ ! -n $VERSION ]] && VERSION=2.0.45
IMAGE_NAME=dnscrypt-proxy
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./dnscrypt/proxy
file: ./dnscrypt/proxy/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/dnscrypt-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=0.4.2
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--build-arg VERSION=${VERSION} \
--tag gists/dnscrypt-wrapper:latest \
--tag gists/dnscrypt-wrapper:${VERSION} \
--file ./dnscrypt/wrapper/Dockerfile \
./dnscrypt/wrapper
IMAGE_NAME=dnscrypt-wrapper
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./dnscrypt/wrapper
file: ./dnscrypt/wrapper/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/dnsmasq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=2.81
[[ ! -n $VERSION ]] && VERSION=2.84
IMAGE_NAME=dnsmasq
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--tag gists/${IMAGE_NAME}:latest \
--tag gists/${IMAGE_NAME}:${VERSION} \
--file ./${IMAGE_NAME}/Dockerfile \
./${IMAGE_NAME}
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login --username "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./${{ steps.prepare.outputs.image-name }}
file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
51 changes: 25 additions & 26 deletions .github/workflows/docker-compose-bin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=1.26.2
[[ ! -n $VERSION ]] && VERSION=1.28.2
IMAGE_NAME=docker-compose-bin
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--build-arg VERSION=${VERSION} \
--tag gists/${IMAGE_NAME}:latest \
--tag gists/${IMAGE_NAME}:${VERSION} \
--file ./${IMAGE_NAME}/Dockerfile \
./${IMAGE_NAME}
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./${{ steps.prepare.outputs.image-name }}
file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
51 changes: 25 additions & 26 deletions .github/workflows/frp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=0.33.0
[[ ! -n $VERSION ]] && VERSION=0.35.1
IMAGE_NAME=frp
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--build-arg VERSION=${VERSION} \
--tag gists/${IMAGE_NAME}:latest \
--tag gists/${IMAGE_NAME}:${VERSION} \
--file ./${IMAGE_NAME}/Dockerfile \
./${IMAGE_NAME}
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./${{ steps.prepare.outputs.image-name }}
file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/haproxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,37 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prepare
run: |
VERSION=${{ github.event.client_payload.version }}
[[ ! -n $VERSION ]] && VERSION=2.1.4
[[ ! -n $VERSION ]] && VERSION=2.2.7
IMAGE_NAME=haproxy
DOCKER_PLATFORMS=linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \
--tag gists/${IMAGE_NAME}:latest \
--tag gists/${IMAGE_NAME}:${VERSION} \
--file ./${IMAGE_NAME}/Dockerfile \
./${IMAGE_NAME}
TAGS="gists/${IMAGE_NAME}:${VERSION},gists/${IMAGE_NAME}:latest"
echo ::set-output name=build_args::VERSION=${VERSION}
echo ::set-output name=image-name::${IMAGE_NAME}
echo ::set-output name=tags::${TAGS}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v3
- name: Buildx (build)
run: |
docker buildx build \
--output "type=image,push=false" ${{ steps.prepare.outputs.buildx_args }}
- name: Login to Docker Hub Registry
if: success()
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
- name: Buildx (push)
if: success()
run: |
docker buildx build \
--output "type=image,push=true" ${{ steps.prepare.outputs.buildx_args }}
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build
uses: docker/build-push-action@v2
with:
context: ./${{ steps.prepare.outputs.image-name }}
file: ./${{ steps.prepare.outputs.image-name }}/Dockerfile
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le,linux/s390x
push: ${{ github.event_name != 'pull_request' }}
build-args: ${{ steps.prepare.outputs.build_args }}
tags: ${{ steps.prepare.outputs.tags }}
- name: Clear
if: always()
run: |
Expand Down
Loading