Skip to content

Commit

Permalink
CI: Update image build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Feb 20, 2024
1 parent 0d11daa commit e1650af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buildimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:

jobs:
build-image:
runs-on: ubuntu-20.04 # change to -latest when possible
runs-on: ubuntu-22.04 # change to -latest when possible
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to the GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Push to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .github/workflows
tags: ghcr.io/tecosaur/emacs-config:latest
Expand Down

0 comments on commit e1650af

Please sign in to comment.