Skip to content

Commit

Permalink
fix: point to correct upstream image and login to GHCR before push (#9)
Browse files Browse the repository at this point in the history
* fix: point to correct upstream image and login to GHCR before push

* chore: remove Fedora 40
  • Loading branch information
p5 authored Jan 11, 2025
1 parent 7169e5e commit 27f8fac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
fedora-version: [40, 41]
fedora-version: [41]
desktop-environment: [cosmic]
permissions:
contents: read
Expand All @@ -41,6 +41,9 @@ jobs:
major-version: ${{ env.FEDORA_VERSION }}
is-release: ${{ github.event_name != 'pull_request' }}

- name: Login to GHCR
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build Image
id: build
uses: rsturla/eternal-main/.github/actions/build-image@main
Expand All @@ -62,5 +65,3 @@ jobs:
image-name: ${{ steps.build.outputs.image }}
image-tags: ${{ steps.build.outputs.tags }}
image-registry: ${{ env.IMAGE_REGISTRY }}
registry-username: ${{ github.actor }}
registry-password: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion desktop-environments/cosmic/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG FEDORA_VERSION=40
ARG FEDORA_EDITION=base
ARG FEDORA_EDITION=base-atomic
ARG FEDORA_IMAGE=quay.io/fedora-ostree-desktops/${FEDORA_EDITION}:${FEDORA_VERSION}

FROM ${FEDORA_IMAGE}
Expand Down

0 comments on commit 27f8fac

Please sign in to comment.