Bumps the dependencies group with 1 update: [docker/login-action](https://github.com/docker/login-action). Updates `docker/login-action` from 3.2.0 to 3.3.0 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/0d4c9c5ea7693da7b068278f7b52bda2a190a446...9780b0c442fbb1117ed29e0efdff1e18412f7567) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
---
|
|
|
|
name: Devel
|
|
|
|
on:
|
|
push:
|
|
branches: [devel]
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
name: Push devel image
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Fail if QUAY_REGISTRY not set
|
|
run: |
|
|
if [[ -z "${{ vars.QUAY_REGISTRY }}" ]]; then
|
|
echo "QUAY_REGISTRY not set. Please set QUAY_REGISTRY in variable GitHub Actions variables."
|
|
exit 1
|
|
fi
|
|
|
|
- name: Log into registry ghcr.io
|
|
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
- name: Log into registry quay.io
|
|
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
|
|
with:
|
|
registry: ${{ vars.QUAY_REGISTRY }}
|
|
username: ${{ secrets.QUAY_USER }}
|
|
password: ${{ secrets.QUAY_TOKEN }}
|
|
|
|
|
|
- name: Build and Store Image @ghcr
|
|
run: |
|
|
IMG=ghcr.io/${{ github.repository }}:${{ github.sha }} make docker-buildx
|
|
|
|
|
|
- name: Publish Image to quay.io
|
|
run: |
|
|
docker buildx imagetools create \
|
|
ghcr.io/${{ github.repository }}:${{ github.sha }} \
|
|
--tag ${{ vars.QUAY_REGISTRY }}/awx-operator:devel
|