Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
manually build a specific tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zupo committed Aug 1, 2023
1 parent d6ff9e5 commit 2f23002
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
channel: [ "nixos-23.05", "nixos-22.11", "nixos-22.05", "nixos-21.11", "nixos-21.05", "nixos-20.09"]
channel: [ "nixos-23.05" ] #, "nixos-22.11", "nixos-22.05", "nixos-21.11", "nixos-21.05", "nixos-20.09"]
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand All @@ -33,14 +33,14 @@ jobs:
with:
name: nix-docker-base
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Running non-pushing updater
if: github.event_name == 'pull_request'
run: nix-shell --run 'scripts/image-update test "$PWD" ${{ matrix.channel }} 16'
env:
REGISTRY_USER: niteo
# - name: Running non-pushing updater
# if: github.event_name == 'pull_request'
# run: nix-shell --run 'scripts/image-update test "$PWD" ${{ matrix.channel }} 16'
# env:
# REGISTRY_USER: niteo
- name: Running pushing updater
# Only push image updates to DockerHub for master commits
if: github.event_name != 'pull_request'
# if: github.event_name == 'pull_request'
run: nix-shell --run 'scripts/image-update push "$PWD" ${{ matrix.channel }} 16'
env:
REGISTRY_USER: niteo
Expand Down
1 change: 1 addition & 0 deletions scripts/image-update
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ processEntry() {
isFirst=

read commit commitDate advanceDate <<< "$entry"
commit="c7a18f89ef1dc423f57f3de9bd5d9355550a5d15"
echo "Processing commit $commit which $channel advanced to at $(date --date="@$advanceDate")" >&2

if [[ -n "$testing" && -n "$first" ]]; then
Expand Down

0 comments on commit 2f23002

Please sign in to comment.