Skip to content

Commit

Permalink
Update the version of the podman-login action we use
Browse files Browse the repository at this point in the history
Signed-off-by: Nalin Dahyabhai <[email protected]>
  • Loading branch information
nalind committed Jul 28, 2023
1 parent 083eab0 commit 4593556
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ env:

jobs:
build-and-push:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: sudo apt-get -y install podman buildah

- uses: redhat-actions/podman-login@v1.5
- uses: redhat-actions/podman-login@v1.6
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -40,7 +40,7 @@ jobs:

- run: echo FEDORARELEASE=`curl -q https://endoflife.date/api/fedora.json | jq -r '.[0].latest'` >> ${GITHUB_ENV}

- run: buildah bud --build-arg FEDORARELEASE=${FEDORARELEASE:-latest} --build-arg IMAGE=${{ env.IMAGE }} --build-arg SOURCE=${{ env.SOURCE }} --platform linux/arm64,linux/amd64,linux/ppc64le,linux/s390x --manifest ${{ env.IMAGE }} .
- run: buildah build --build-arg FEDORARELEASE=${FEDORARELEASE:-latest} --build-arg IMAGE=${{ env.IMAGE }} --build-arg SOURCE=${{ env.SOURCE }} --platform linux/arm64,linux/amd64,linux/ppc64le,linux/s390x --manifest ${{ env.IMAGE }} --net=host .

- run: buildah manifest push --format v2s2 --all ${{ env.IMAGE }} docker://${{ env.IMAGE }}:$(TZ=UTC date +%Y-%m-%d)

Expand Down

0 comments on commit 4593556

Please sign in to comment.