<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Publish Image 2 Harbor :: Ay Docs</title>
    <link>https://ops.docs.72602.space/git/action/templates/push_image_2_harbor/index.html</link>
    <description>name: publish-image-to-harbor-registry run-name: ${{ gitea.actor }} is testing out Gitea Push Image 🚀 on: [push] env: REGISTRY: harbor.zhejianglab.com USER: byang628@zhejianglab.com REPOSITORY_NAMESPACE: ay-dev IMAGE_NAME: metadata-crd-operator jobs: build-and-push-images: runs-on: ubuntu-latest permissions: packages: write contents: read strategy: matrix: include: - name_suffix: &#34;dev&#34; container_path: &#34;.&#34; dockerfile_path: &#34;./Dockerfile&#34; steps: - name: Checkout Repository uses: actions/checkout@v4 - name: Log in to Harbor uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a with: registry: &#34;${{ env.REGISTRY }}&#34; username: &#34;${{ env.USER }}&#34; password: &#34;${{ secrets.ZJ_HARBOR_TOKEN }}&#34; - name: Extract Current Date id: extract-date run: | echo &#34;current-date=$(date +&#39;%Y%m%d&#39;)&#34; &gt;&gt; $GITHUB_OUTPUT echo will push image: ${{ env.REGISTRY }}/${{ env.REPOSITORY_NAMESPACE }}/${{ env.IMAGE_NAME }}-${{ matrix.name_suffix }}:v${{ steps.extract-date.outputs.current-date }} - name: Build And Push Container Image uses: docker/build-push-action@v6 with: context: &#34;${{ matrix.container_path }}&#34; file: &#34;${{ matrix.dockerfile_path }}&#34; push: true tags: | ${{ env.REGISTRY }}/${{ env.REPOSITORY_NAMESPACE }}/${{ env.IMAGE_NAME }}-${{ matrix.name_suffix }}:v${{ steps.extract-date.outputs.current-date }} labels: | org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://ops.docs.72602.space/git/action/templates/push_image_2_harbor/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>