Skip to content

ci: publish main commit tag to ghcr.io/coder/coder-preview #8897

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

Merged
merged 19 commits into from
Aug 4, 2023
Merged
Prev Previous commit
Next Next commit
ready to merge
  • Loading branch information
matifali committed Aug 4, 2023
commit dd8741c51c0a30459fab7622e88e3e32b49987ae
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ jobs:
# This build and publihes ghcr.io/coder/coder-preview:main for each merge commit to main branch.
# We are only building this for amd64 plateform. (>95% pulls are for amd64)
needs: changes
# if: github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' # uncomment before merging
if: github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false'
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
Expand Down Expand Up @@ -755,7 +755,6 @@ jobs:
organization: coder
container: coder-preview
dry-run: true
# keep-younger-than: 3 # days
keep-last: 5
keep-tags-regexes: ^pr
prune-tags-regexes: ^main-
Expand Down