Skip to content

Commit

Permalink
fix makefile and github
Browse files Browse the repository at this point in the history
  • Loading branch information
chaospuppy committed Feb 23, 2023
1 parent d817e10 commit 94b034b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: ARCH=amd64 IMAGE_REPO='docker.io/chaospuppy' IMAGE_NAME='imagesync' make push-image
if: ${{ github.ref_type == 'tag' }}
- name: push-latest-tag-version
run: ARCH=amd64 IMAGE_REPO='docker.io/chaospuppy' IMAGE_NAME='imagesync' make push-latest-tag
run: ARCH=amd64 IMAGE_REPO='docker.io/chaospuppy' IMAGE_NAME='imagesync' make push-latest-tag-version
if: ${{ github.ref_type == 'tag' }}
release:
runs-on: ubuntu-latest
Expand All @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: create-artifact
run: ARCH=amd64 ARCH=amd64 IMAGE_REPO='docker.io/chaospuppy' IMAGE_NAME='imagesync' make artifact
run: ARCH=amd64 IMAGE_REPO='docker.io/chaospuppy' IMAGE_NAME='imagesync' make artifact
if: ${{ github.ref_type == 'tag' }}
- name: create-release
uses: "marvinpinto/action-automatic-releases@latest"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ push-latest-tag-version: VERSION

artifact: build
mkdir -p _build/
docker save -o _build/imagesync.tar imagesync:$(VERSION)-$(ARCH)
docker save -o _build/imagesync.tar $(IMAGE_REPO)/$(IMAGE_IMAGE):$(VERSION)-$(ARCH)

.PHONY: build artifact push-image push-latest-tag-version

0 comments on commit 94b034b

Please sign in to comment.