Skip to content

Commit

Permalink
Test for Nuget auth fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Feb 5, 2024
1 parent 9647c8b commit 9c01b59
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'ruby', 'csharp' ]
language: [ 'ruby' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
Expand Down
14 changes: 0 additions & 14 deletions .github/workflows/updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,21 +103,7 @@ jobs:
.
- name: Log into registry
if: ${{ (github.ref == 'refs/heads/main') || (!startsWith(github.ref, 'refs/pull')) || startsWith(github.ref, 'refs/tags') }}
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin

- name: Push image (latest, ShortSha)
if: ${{ (github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/tags') }}
run: |
docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:latest"
docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_SHORTSHA"
- name: Push image (NuGetVersionV2)
if: ${{ !startsWith(github.ref, 'refs/pull') }}
run: docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_NUGETVERSIONV2"

- name: Push image (major, minor)
if: startsWith(github.ref, 'refs/tags')
run: |
docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_MAJOR.$GITVERSION_MINOR"
docker push "ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME:$GITVERSION_MAJOR"
4 changes: 2 additions & 2 deletions updater/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ source "https://rubygems.org"
# They are so many, our reference won't be found for it to be updated.
# Hence adding the branch.

gem "dependabot-omnibus", "~>0.242.1"
# gem "dependabot-omnibus", "~>0.242.1"
# gem "dependabot-omnibus", github: "dependabot/dependabot-core", branch: "main"
# gem "dependabot-omnibus", github: "dependabot/dependabot-core", tag: "v0.232.0"
# gem "dependabot-omnibus", github: "dependabot/dependabot-core", ref: "ffde6f6"
gem "dependabot-omnibus", github: "dependabot/dependabot-core", ref: "df3e6e1"

gem "http", "~> 5.2"
gem "octokit", "6.1.1"
Expand Down
72 changes: 38 additions & 34 deletions updater/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
GEM
remote: https://rubygems.org/
GIT
remote: https://github.com/dependabot/dependabot-core.git
revision: df3e6e1cc9f708c5ae5b6243a8d2e22e4cc43c3e
ref: df3e6e1
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
aws-eventstream (1.3.0)
aws-partitions (1.883.0)
aws-sdk-codecommit (1.64.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sdk-core (3.191.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ecr (1.69.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
citrus (3.0.2)
commonmarker (0.23.10)
concurrent-ruby (1.2.3)
crack (0.4.5)
rexml
dependabot-bundler (0.242.1)
dependabot-common (= 0.242.1)
dependabot-cargo (0.242.1)
Expand Down Expand Up @@ -102,6 +80,34 @@ GEM
dependabot-common (= 0.242.1)
dependabot-terraform (0.242.1)
dependabot-common (= 0.242.1)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
aws-eventstream (1.3.0)
aws-partitions (1.887.0)
aws-sdk-codecommit (1.64.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sdk-core (3.191.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-ecr (1.69.0)
aws-sdk-core (~> 3, >= 3.191.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
citrus (3.0.2)
commonmarker (0.23.10)
concurrent-ruby (1.2.3)
crack (0.4.5)
rexml
diff-lcs (1.5.1)
docker_registry2 (1.18.0)
rest-client (>= 1.8.0)
Expand All @@ -121,9 +127,7 @@ GEM
gitlab (4.19.0)
httparty (~> 0.20)
terminal-table (>= 1.5.1)
google-protobuf (3.25.2-aarch64-linux)
google-protobuf (3.25.2-arm64-darwin)
google-protobuf (3.25.2-x86_64-linux)
google-protobuf (3.25.2)
googleapis-common-protos-types (1.11.0)
google-protobuf (~> 3.18)
hashdiff (1.0.1)
Expand Down Expand Up @@ -152,11 +156,11 @@ GEM
mini_mime (1.1.5)
multi_xml (0.6.0)
netrc (0.11.0)
nokogiri (1.16.0-aarch64-linux)
nokogiri (1.16.2-aarch64-linux)
racc (~> 1.4)
nokogiri (1.16.0-arm64-darwin)
nokogiri (1.16.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.0-x86_64-linux)
nokogiri (1.16.2-x86_64-linux)
racc (~> 1.4)
octokit (6.1.1)
faraday (>= 1, < 3)
Expand Down Expand Up @@ -253,7 +257,7 @@ GEM
faraday (>= 0.17.3, < 3)
sentry-ruby (5.16.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
sorbet-runtime (0.5.11219)
sorbet-runtime (0.5.11226)
stringio (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand All @@ -273,7 +277,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
dependabot-omnibus (~> 0.242.1)
dependabot-omnibus!
http (~> 5.2)
octokit (= 6.1.1)
opentelemetry-exporter-otlp (~> 0.26)
Expand Down

0 comments on commit 9c01b59

Please sign in to comment.