mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-12-03 18:26:07 +03:00
Compare commits
10 Commits
3c3d92ba37
...
571d8ef957
Author | SHA1 | Date | |
---|---|---|---|
571d8ef957 | |||
4077d06661 | |||
c8c7f78d34 | |||
179f3d9fd1 | |||
43f319bf43 | |||
4641f08fd1 | |||
|
30dd2e074f | ||
|
54a84e0c38 | ||
|
3ce879506d | ||
|
369a1aec61 |
10
.github/workflows/buildx.yml
vendored
10
.github/workflows/buildx.yml
vendored
@ -65,11 +65,11 @@ jobs:
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2.1.0
|
||||
uses: docker/setup-qemu-action@v2.2.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2.4.1
|
||||
uses: docker/setup-buildx-action@v2.6.0
|
||||
with:
|
||||
install: true
|
||||
|
||||
@ -77,7 +77,7 @@ jobs:
|
||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||
|
||||
- name: Docker Buildx (build)
|
||||
uses: docker/build-push-action@v3.2.0
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
if: success() && !contains(github.ref, 'master')
|
||||
with:
|
||||
push: false
|
||||
@ -89,13 +89,13 @@ jobs:
|
||||
|
||||
- name: Docker Login
|
||||
if: success() && contains(github.ref, 'master')
|
||||
uses: docker/login-action@v2.1.0
|
||||
uses: docker/login-action@v2.2.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Docker Buildx (push)
|
||||
uses: docker/build-push-action@v3.2.0
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
if: success() && contains(github.ref, 'master')
|
||||
with:
|
||||
push: true
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@v1.27.8 && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@v1.27.8 && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@v1.40.0 && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@v1.40.0 && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -23,6 +23,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@latest && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@latest && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -23,6 +23,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@latest && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
@ -5,6 +5,7 @@ RUN set -eux; \
|
||||
go install github.com/cosmtrek/air@latest && \
|
||||
go install github.com/jstemmer/go-junit-report@latest && \
|
||||
go install github.com/axw/gocov/gocov@latest && \
|
||||
go install gotest.tools/gotestsum@latest && \
|
||||
chmod -R 777 "$GOPATH" && \
|
||||
curl -L https://github.com/tobni/merge-junit/releases/download/v0.1.4/merge-junit-v0.1.4-x86_64-unknown-linux-musl.tar.gz | tar -xz && \
|
||||
mv ./merge-junit-v0.1.4-x86_64-unknown-linux-musl/merge-junit /usr/bin/merge-junit && \
|
||||
|
Loading…
Reference in New Issue
Block a user