Skip to content

Commit

Permalink
test push container
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Sep 4, 2024
1 parent da72a39 commit f7b25f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ jobs:

- name: Push config artifact
run: |
flux push artifact oci://${{ env.DOCKER_LOGIN_SERVER }}/configs/${{ env.APP_NAME }}-at21:${{ env.SHORT_SHA }} \
flux push artifact oci://${{ env.DOCKER_LOGIN_SERVER }}/configs/${{ env.IMAGE_NAME }}-at21:${{ env.SHORT_SHA }} \
--path="${{ env.DEPLOY_DIR }}" \
--source="$(git config --get remote.origin.url)" \
--revision="$(git branch --show-current)/$(git rev-parse HEAD)" \
--annotations "org.opencontainers.image.description=${{ env.APP_NAME }}" \
--annotations "org.opencontainers.image.description=${{ env.IMAGE_NAME }}" \
--annotations "org.opencontainers.image.authors=${{ env.TEAM_NAME }}"
- name: Tag artifact as latest
run: |
flux tag artifact oci://${{ env.DOCKER_LOGIN_SERVER }}/configs/${{ env.APP_NAME }}-at21:${{ env.SHORT_SHA }} --tag latest
flux tag artifact oci://${{ env.DOCKER_LOGIN_SERVER }}/configs/${{ env.IMAGE_NAME }}-at21:${{ env.SHORT_SHA }} --tag latest

0 comments on commit f7b25f9

Please sign in to comment.