patch(deps): update dependency awscli to v1.36.34 (#812) #1863
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: docker | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: 0 8 * * 1 | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
id: source | |
uses: actions/checkout@v4 | |
- name: Detect version | |
id: version | |
run: | | |
VER=$(sed -ne "s/^.*AWSCLI_VERSION=\(.*\)/\1/p;" Dockerfile) | |
echo IMAGE_TAG=${VER} >> ${GITHUB_ENV} | |
echo "Building ${VER}" | |
- name: Docker meta | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
images: | | |
${{ github.repository }} | |
ghcr.io/${{ github.repository }} | |
quay.io/${{ github.repository }} | |
flavor: | | |
latest=true | |
tags: | | |
type=raw,value=${{ env.IMAGE_TAG }} | |
type=schedule,pattern={{date 'YYYYMMDD'}} | |
type=ref,enable=true,event=branch | |
labels: | | |
org.opencontainers.image.vendor=Webhippie | |
maintainer=Thomas Boerger <thomas@webhippie.de> | |
- name: Setup QEMU | |
id: qemu | |
uses: docker/setup-qemu-action@v3 | |
- name: Setup Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Hub login | |
id: login1 | |
uses: docker/login-action@v3 | |
if: github.event_name != 'pull_request' | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Quay login | |
id: login2 | |
uses: docker/login-action@v3 | |
if: github.event_name != 'pull_request' | |
with: | |
registry: quay.io | |
username: ${{ secrets.QUAY_USERNAME }} | |
password: ${{ secrets.QUAY_PASSWORD }} | |
- name: Ghcr login | |
id: login3 | |
uses: docker/login-action@v3 | |
if: github.event_name != 'pull_request' | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Docker build | |
id: docker | |
uses: docker/build-push-action@v6 | |
with: | |
builder: ${{ steps.buildx.outputs.name }} | |
provenance: false | |
platforms: linux/amd64,linux/arm64,linux/arm/v6 | |
push: ${{ github.event_name != 'pull_request' }} | |
labels: ${{ steps.meta.outputs.labels }} | |
tags: ${{ steps.meta.outputs.tags }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Hub readme | |
id: readme1 | |
uses: actionhippie/pushrm@v1 | |
if: github.event_name != 'pull_request' | |
with: | |
provider: dockerhub | |
target: ${{ github.repository }} | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
description: Docker image for aws | |
readme: README.md | |
- name: Quay readme | |
id: readme2 | |
uses: actionhippie/pushrm@v1 | |
if: github.event_name != 'pull_request' | |
with: | |
provider: quay | |
target: quay.io/${{ github.repository }} | |
apikey: ${{ secrets.QUAY_APIKEY }} | |
readme: README.md |