Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix artifact name #558

Merged
merged 18 commits into from
Feb 6, 2024
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ jobs:
package_type=local-package
- name: Build Packages
run: |
make clean local-deb-package local-rpm-package local-txz-package local-apk-package
make clean local-deb-package local-rpm-package local-txz-package local-apk-package
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nginx-agent-snapshots
name: nginx-agent-unsigned-snapshots
path: build
retention-days: 3
retention-days: 1

integration-tests:
name: Integration Tests
Expand Down Expand Up @@ -145,11 +145,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.6'
go-version-file: 'go.mod'
- name: Download Packages
uses: actions/download-artifact@v4
with:
name: nginx-agent-snapshots
name: nginx-agent-unsigned-snapshots
path: build
- name: Run Integration Tests
run: |
Expand Down Expand Up @@ -233,9 +233,9 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: nginx-agent-snapshots
name: nginx-agent-signed-snapshots
path: ./build/azure/packages/nginx-agent.tar.gz
retention-days: 3
retention-days: 1
- name: Azure Login
uses: azure/login@v1
with:
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ run: ## Run code
run-debug: ## Run code
./build/nginx-agent


build: ## Build agent executable
GOWORK=off CGO_ENABLED=0 GOARCH=${OSARCH} go build -pgo=auto -ldflags=${LDFLAGS} -o ./build/nginx-agent

Expand Down
2 changes: 1 addition & 1 deletion Makefile.packaging
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
PACKAGES_DIR := ./build/packages
GITHUB_PACKAGES_DIR := ./build/github/packages
AZURE_PACKAGES_DIR := ./build/azure/packages
AZURE_PACKAGES_DIR := ./build/azure/packages
GPG_PUBLIC_KEY := .key

DEB_DISTROS?=ubuntu-jammy-22.04 ubuntu-focal-20.04 debian-bookworm-12 debian-bullseye-11
Expand Down
Loading