diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fbaf90..07f7c75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,8 @@ name: Run Tests +permissions: + contents: read + on: pull_request: branches: @@ -30,4 +33,4 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Build Docker image - run: make dev-build + run: make docker-build-release tag="latest" diff --git a/Makefile b/Makefile index 10da584..8eed5c2 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,3 @@ go-build-release-darwin-amd64: go-build-release-windows-amd64: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o bin/olm_windows_amd64.exe - -dev-build: - docker build -t fosrl/olm:latest .