mirror of
https://github.com/Forceu/Gokapi.git
synced 2026-01-03 15:29:33 -06:00
Fixed build (finally)
This commit is contained in:
@@ -22,7 +22,6 @@ jobs:
|
||||
run: echo "${{ secrets.DOCKER_PW }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
|
||||
- name: build the image
|
||||
run: |
|
||||
go mod tidy
|
||||
docker buildx build --tag f0rc3/gokapi:latest --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 .
|
||||
- name: push the image
|
||||
run: |
|
||||
|
||||
@@ -30,7 +30,6 @@ jobs:
|
||||
run: echo "${{ secrets.DOCKER_PW }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
|
||||
- name: build the image
|
||||
run: |
|
||||
go mod tidy
|
||||
docker buildx build --tag f0rc3/gokapi:latest --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7 .
|
||||
- name: push the image
|
||||
run: |
|
||||
|
||||
@@ -6,7 +6,7 @@ FROM golang:1.17 AS build_base
|
||||
|
||||
RUN mkdir /compile
|
||||
COPY go.mod /compile
|
||||
RUN cd /compile && go mod download
|
||||
RUN cd /compile && go mod tidy && go mod download
|
||||
|
||||
COPY . /compile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user