Loading .github/workflows/release.yml 0 → 100644 +21 −0 Original line number Diff line number Diff line name: Release on: push: tags: - "v*" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Push Docker run: (echo '${{ secrets.REGISTRY_KEY }}' | docker login --username json_key --password-stdin cr.yandex) && make push - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -28,7 +28,9 @@ test: container: docker build -t $(IMAGE_TAG) -f cmd/s3driver/Dockerfile . push: container docker tag $(IMAGE_TAG) $(REGISTRY_NAME)/$(IMAGE_NAME):latest docker push $(IMAGE_TAG) docker push $(REGISTRY_NAME)/$(IMAGE_NAME) clean: go clean -r -x -rm -rf _output Loading
.github/workflows/release.yml 0 → 100644 +21 −0 Original line number Diff line number Diff line name: Release on: push: tags: - "v*" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Push Docker run: (echo '${{ secrets.REGISTRY_KEY }}' | docker login --username json_key --password-stdin cr.yandex) && make push - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: false
Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -28,7 +28,9 @@ test: container: docker build -t $(IMAGE_TAG) -f cmd/s3driver/Dockerfile . push: container docker tag $(IMAGE_TAG) $(REGISTRY_NAME)/$(IMAGE_NAME):latest docker push $(IMAGE_TAG) docker push $(REGISTRY_NAME)/$(IMAGE_NAME) clean: go clean -r -x -rm -rf _output